Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001724, allocations: 116.7 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.041/3.041, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02504/1.164, allocations: 20.42 MB / 1.283 GB, free: 10.36 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01551/1.18, allocations: 7.705 MB / 1.29 GB, free: 5.133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003371/1.183, allocations: 60.88 kB / 1.29 GB, free: 5.121 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004712/1.188, allocations: 1.351 MB / 1.291 GB, free: 4.305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004291/1.192, allocations: 1.002 MB / 1.292 GB, free: 3.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007373/1.2, allocations: 2.002 MB / 1.294 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009039/1.209, allocations: 4.319 MB / 1.299 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/1.222, allocations: 6.158 MB / 1.305 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005332/1.228, allocations: 1.844 MB / 1.306 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007027/1.235, allocations: 2.2 MB / 1.309 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002756/1.238, allocations: 428.2 kB / 1.309 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/1.242, allocations: 0.9482 MB / 1.31 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004449/1.246, allocations: 1.651 MB / 1.311 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006245/1.253, allocations: 1.721 MB / 1.313 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01361/1.266, allocations: 6.195 MB / 1.319 GB, free: 8.598 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.266, allocations: 0 / 1.319 GB, free: 8.598 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.805e-06/1.266, allocations: 1.094 kB / 1.319 GB, free: 8.598 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002763/1.267, allocations: 0 / 1.319 GB, free: 8.598 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01297/1.28, allocations: 3.124 MB / 1.322 GB, free: 6.797 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.28, allocations: 9.688 kB / 1.322 GB, free: 6.797 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005257/1.285, allocations: 0.7625 MB / 1.323 GB, free: 6.609 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/1.29, allocations: 1.579 MB / 1.325 GB, free: 5.742 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/1.29, allocations: 214.8 kB / 1.325 GB, free: 5.645 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/1.292, allocations: 286.8 kB / 1.325 GB, free: 5.551 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/1.308, allocations: 5.072 MB / 1.33 GB, free: 3.492 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000174/1.308, allocations: 10.97 kB / 1.33 GB, free: 3.484 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/1.31, allocations: 129.6 kB / 1.33 GB, free: 3.387 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003459/1.31, allocations: 206.9 kB / 1.33 GB, free: 3.359 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/1.321, allocations: 4.227 MB / 1.334 GB, free: 1.672 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03668/1.358, allocations: 22.96 MB / 1.357 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/1.361, allocations: 1.733 MB / 1.359 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/1.364, allocations: 1.154 MB / 1.36 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/1.364, allocations: 106.4 kB / 1.36 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/1.364, allocations: 43.44 kB / 1.36 GB, free: 10.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=84): time 3.166e-06/1.364, allocations: 0 / 1.36 GB, free: 10.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=87): time 0.009453/1.373, allocations: 4.112 MB / 1.364 GB, free: 8.355 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.373, allocations: 143.3 kB / 1.364 GB, free: 8.191 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/1.375, allocations: 0.8755 MB / 1.365 GB, free: 7.688 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001946/1.375, allocations: 42.95 kB / 1.365 GB, free: 7.645 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.376, allocations: 1.195 MB / 1.366 GB, free: 6.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/1.377, allocations: 323.6 kB / 1.366 GB, free: 6.312 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005419/1.377, allocations: 275.3 kB / 1.367 GB, free: 6.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002636/1.378, allocations: 412.7 kB / 1.367 GB, free: 5.773 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.379, allocations: 0.8237 MB / 1.368 GB, free: 5.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/1.381, allocations: 1.312 MB / 1.369 GB, free: 4.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/1.384, allocations: 2.161 MB / 1.371 GB, free: 2.781 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/1.384, allocations: 3.688 kB / 1.371 GB, free: 2.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004085/1.388, allocations: 2.221 MB / 1.373 GB, free: 1.637 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/1.389, allocations: 14.83 kB / 1.373 GB, free: 1.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/1.389, allocations: 18.56 kB / 1.373 GB, free: 1.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.731e-05/1.389, allocations: 20.5 kB / 1.373 GB, free: 1.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.39, allocations: 412.5 kB / 1.374 GB, free: 1.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.592e-05/1.39, allocations: 28.86 kB / 1.374 GB, free: 1.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/1.392, allocations: 215.4 kB / 1.374 GB, free: 1.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/1.392, allocations: 63.06 kB / 1.374 GB, free: 1.363 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003313/1.395, allocations: 1.678 MB / 1.376 GB, free: 416 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001646/1.397, allocations: 1.187 MB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002862/1.4, allocations: 1.908 MB / 1.379 GB, free: 14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.206e-05/1.4, allocations: 12.53 kB / 1.379 GB, free: 13.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003602/1.404, allocations: 1.932 MB / 1.381 GB, free: 12.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.404, allocations: 14.03 kB / 1.381 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/1.404, allocations: 16 kB / 1.381 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/1.404, allocations: 20 kB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.405, allocations: 376 kB / 1.381 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.924e-05/1.405, allocations: 35.84 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.407, allocations: 175.5 kB / 1.381 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.407, allocations: 55.98 kB / 1.381 GB, free: 11.48 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004631/1.407, allocations: 271.8 kB / 1.382 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/1.407, allocations: 103.3 kB / 1.382 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/1.411, allocations: 1.858 MB / 1.384 GB, free: 9.242 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.411, allocations: 8 kB / 1.384 GB, free: 9.234 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.411, allocations: 4 kB / 1.384 GB, free: 9.23 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.411, allocations: 4.172 kB / 1.384 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/1.426, allocations: 9.588 MB / 1.393 GB, free: 15.39 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.426, allocations: 15.94 kB / 1.393 GB, free: 15.37 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.428, allocations: 311.5 kB / 1.393 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.049e-05/1.428, allocations: 16 kB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-05/1.428, allocations: 27.98 kB / 1.393 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-05/1.428, allocations: 28.28 kB / 1.393 GB, free: 15 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/1.428, allocations: 19.94 kB / 1.393 GB, free: 14.98 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/1.431, allocations: 2.406 MB / 1.396 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007517/1.432, allocations: 384.1 kB / 1.396 GB, free: 12.02 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/1.432, allocations: 35.94 kB / 1.396 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.433, allocations: 139.7 kB / 1.396 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/1.433, allocations: 87.67 kB / 1.396 GB, free: 11.76 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/1.433, allocations: 43.94 kB / 1.396 GB, free: 11.71 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001041/1.434, allocations: 0.6161 MB / 1.397 GB, free: 11.1 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.8e-07/1.435, allocations: 0 / 1.397 GB, free: 11.1 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003181/1.438, allocations: 0.7539 MB / 1.398 GB, free: 10.35 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002979/1.438, allocations: 142.9 kB / 1.398 GB, free: 10.2 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005217/1.443, allocations: 2.909 MB / 1.401 GB, free: 7.301 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/1.443, allocations: 4.125 kB / 1.401 GB, free: 7.297 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.445, allocations: 0.912 MB / 1.402 GB, free: 6.387 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/1.447, allocations: 321.1 kB / 1.402 GB, free: 6.094 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.457, allocations: 5.493 MB / 1.407 GB, free: 412 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002625/1.46, allocations: 2.195 MB / 1.409 GB, free: 14.17 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007016/1.461, allocations: 99.41 kB / 1.409 GB, free: 14.07 MB / 1.107 GB Notification: Performance of SimCode: time 1.192e-06/1.461, allocations: 0 / 1.409 GB, free: 14.07 MB / 1.107 GB Notification: Performance of Templates: time 0.0482/1.509, allocations: 28.22 MB / 1.437 GB, free: 1.922 MB / 1.123 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.271263165166602]