Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.001377/0.001377, allocations: 107.3 kB / 19.97 MB, free: 1.887 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.001664/0.001664, allocations: 184 kB / 23.29 MB, free: 5.004 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.578/1.578, allocations: 225.7 MB / 252.1 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 443.5 MB / 0.7333 GB, free: 12.13 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 67.89 kB / 1.063 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.8964, allocations: 160.8 MB / 1.22 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01756/0.914, allocations: 12.43 MB / 1.232 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.925, allocations: 5.673 MB / 1.237 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.9265, allocations: 39.88 kB / 1.238 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003499/0.93, allocations: 1.088 MB / 1.239 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.9324, allocations: 0.6531 MB / 1.239 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.9354, allocations: 0.9583 MB / 1.24 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.9392, allocations: 2.478 MB / 1.243 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003066/0.9423, allocations: 1.562 MB / 1.244 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.9445, allocations: 1.114 MB / 1.245 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.9471, allocations: 1.289 MB / 1.246 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007302/0.9478, allocations: 240 kB / 1.247 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.9494, allocations: 0.5306 MB / 1.247 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.9509, allocations: 0.9275 MB / 1.248 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.9531, allocations: 0.9884 MB / 1.249 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005563/0.9587, allocations: 3.57 MB / 1.253 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.9587, allocations: 4 kB / 1.253 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9587, allocations: 3.938 kB / 1.253 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001278/0.9588, allocations: 0 / 1.253 GB, free: 5.445 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006793/0.9656, allocations: 1.973 MB / 1.254 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.9656, allocations: 12.56 kB / 1.254 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/0.9688, allocations: 0.4954 MB / 1.255 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.9715, allocations: 1.132 MB / 1.256 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.9717, allocations: 111.5 kB / 1.256 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000587/0.9722, allocations: 156.1 kB / 1.256 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005505/0.9778, allocations: 2.758 MB / 1.259 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.9778, allocations: 3.938 kB / 1.259 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.978, allocations: 64 kB / 1.259 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003212/0.9783, allocations: 151 kB / 1.259 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003971/0.9823, allocations: 2.303 MB / 1.261 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/0.9957, allocations: 10.39 MB / 1.272 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.9971, allocations: 0.6038 MB / 1.272 GB, free: 236 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007198/0.9978, allocations: 373.5 kB / 1.273 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.9979, allocations: 93.08 kB / 1.273 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.998, allocations: 42.5 kB / 1.273 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 3.176e-06/0.998, allocations: 7.938 kB / 1.273 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=52): time 0.02328/1.021, allocations: 5.84 MB / 1.278 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/1.021, allocations: 55.84 kB / 1.278 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.023, allocations: 0.8829 MB / 1.279 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/1.023, allocations: 29.7 kB / 1.279 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006775/1.024, allocations: 0.7876 MB / 1.28 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/1.024, allocations: 190.4 kB / 1.28 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/1.024, allocations: 202.4 kB / 1.281 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.025, allocations: 386.8 kB / 1.281 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/1.026, allocations: 0.6566 MB / 1.282 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/1.028, allocations: 1.006 MB / 1.282 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/1.03, allocations: 1.67 MB / 1.284 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/1.03, allocations: 4 kB / 1.284 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009546/1.04, allocations: 3.124 MB / 1.287 GB, free: 424 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/1.04, allocations: 18.12 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/1.04, allocations: 12 kB / 1.287 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007296/1.047, allocations: 1.646 MB / 1.289 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.049, allocations: 227.6 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/1.065, allocations: 10.59 MB / 1.299 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.067, allocations: 163.7 kB / 1.3 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/1.067, allocations: 47.98 kB / 1.3 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002718/1.069, allocations: 1.314 MB / 1.301 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001656/1.071, allocations: 0.9787 MB / 1.302 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002921/1.074, allocations: 1.619 MB / 1.303 GB, free: 14.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.317e-05/1.074, allocations: 4 kB / 1.303 GB, free: 14.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.008024/1.082, allocations: 2.662 MB / 1.306 GB, free: 12.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.082, allocations: 8 kB / 1.306 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/1.082, allocations: 12 kB / 1.306 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004789/1.087, allocations: 1.063 MB / 1.307 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.088, allocations: 251.5 kB / 1.307 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008765/1.097, allocations: 5.748 MB / 1.313 GB, free: 4.867 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.098, allocations: 163.7 kB / 1.313 GB, free: 4.707 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/1.099, allocations: 47.98 kB / 1.313 GB, free: 4.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004169/1.099, allocations: 240.5 kB / 1.313 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/1.099, allocations: 83.48 kB / 1.313 GB, free: 4.336 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008217/1.107, allocations: 2.559 MB / 1.316 GB, free: 1.754 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.107, allocations: 3.984 kB / 1.316 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.107, allocations: 0 / 1.316 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/1.108, allocations: 276.5 kB / 1.316 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.108, allocations: 8 kB / 1.316 GB, free: 1.453 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009588/1.109, allocations: 115.8 kB / 1.316 GB, free: 1.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/1.109, allocations: 52.33 kB / 1.316 GB, free: 1.289 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005628/1.115, allocations: 2.095 MB / 1.318 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002953/1.118, allocations: 1.794 MB / 1.32 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008648/1.119, allocations: 0.5342 MB / 1.321 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001201/1.12, allocations: 0.6434 MB / 1.321 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Backend: time 2.81e-07/1.12, allocations: 0 / 1.321 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006452/1.127, allocations: 2.809 MB / 1.324 GB, free: 9.301 MB / 1.029 GB Notification: Performance of SimCode: time 0.00713/1.134, allocations: 3.388 MB / 1.327 GB, free: 5.863 MB / 1.029 GB Notification: Performance of Templates: time 0.05628/1.19, allocations: 30.63 MB / 1.357 GB, free: 7.395 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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: 9.850706211000215]