Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000948/0.000948, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.491/2.491, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.08e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01507/0.01509, allocations: 19.89 MB / 0.8581 GB, free: 10.18 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.02855, allocations: 10.28 MB / 0.8681 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.03103, allocations: 214.4 kB / 0.8683 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.03286, allocations: 0.8645 MB / 0.8692 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.03874, allocations: 2.826 MB / 0.8719 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.0419, allocations: 1.86 MB / 0.8737 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.008773/0.05067, allocations: 8.918 MB / 0.8824 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006558/0.05723, allocations: 5.696 MB / 0.888 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007076/0.06431, allocations: 5.692 MB / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004777/0.06909, allocations: 3.807 MB / 0.8973 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001615/0.0707, allocations: 0.707 MB / 0.898 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.07241, allocations: 0.8083 MB / 0.8988 GB, free: 244 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002512/0.07493, allocations: 3.044 MB / 0.9017 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.07816, allocations: 2.366 MB / 0.904 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.006193/0.08435, allocations: 5.734 MB / 0.9096 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.08436, allocations: 0 / 0.9096 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.08436, allocations: 0 / 0.9096 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002189/0.08458, allocations: 0 / 0.9096 GB, free: 5.066 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.006098/0.09068, allocations: 5.633 MB / 0.9151 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.09071, allocations: 12.62 kB / 0.9152 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.09443, allocations: 1.502 MB / 0.9166 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.0983, allocations: 2.698 MB / 0.9193 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.09849, allocations: 382.4 kB / 0.9196 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005221/0.09901, allocations: 0.4964 MB / 0.9201 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004932/0.1039, allocations: 4.873 MB / 0.9249 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.104, allocations: 31.73 kB / 0.9249 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003221/0.1044, allocations: 212 kB / 0.9251 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004692/0.1048, allocations: 361.7 kB / 0.9254 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.1071, allocations: 1.297 MB / 0.9267 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01665/0.1238, allocations: 16.59 MB / 0.9429 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008726/0.1246, allocations: 0.7975 MB / 0.9437 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/0.1253, allocations: 0.6163 MB / 0.9443 GB, free: 488 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.366e-05/0.1254, allocations: 30 kB / 0.9443 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1254, allocations: 52.56 kB / 0.9444 GB, free: 396 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=171): time 4.348e-06/0.1255, allocations: 0 / 0.9444 GB, free: 396 kB / 0.9011 GB Notification: Performance of matching and sorting (n=174): time 0.01442/0.1399, allocations: 6.6 MB / 0.9508 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1399, allocations: 69.41 kB / 0.9509 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.1411, allocations: 1.682 MB / 0.9525 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/0.1412, allocations: 57.7 kB / 0.9526 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009091/0.1422, allocations: 1.998 MB / 0.9545 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.1425, allocations: 0.6118 MB / 0.9551 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/0.1429, allocations: 367.7 kB / 0.9555 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.1429, allocations: 309.1 kB / 0.9558 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.1433, allocations: 252.2 kB / 0.956 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.1439, allocations: 0.8249 MB / 0.9568 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.145, allocations: 1.324 MB / 0.9581 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.145, allocations: 8 kB / 0.9581 GB, free: 1.707 MB / 0.9167 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002754/0.1478, allocations: 1.99 MB / 0.9601 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.1478, allocations: 15.94 kB / 0.9601 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.1478, allocations: 16 kB / 0.9601 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/0.1507, allocations: 1.219 MB / 0.9613 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.1516, allocations: 363.4 kB / 0.9616 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007989/0.1595, allocations: 7.658 MB / 0.9691 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.1609, allocations: 68.11 kB / 0.9692 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.161, allocations: 72 kB / 0.9692 GB, free: 5.996 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.1621, allocations: 244.1 kB / 0.9695 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.1624, allocations: 235.6 kB / 0.9697 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.1648, allocations: 1.771 MB / 0.9714 GB, free: 3.715 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.1648, allocations: 19.94 kB / 0.9714 GB, free: 3.695 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.1648, allocations: 16 kB / 0.9715 GB, free: 3.68 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1648, allocations: 11.97 kB / 0.9715 GB, free: 3.668 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005581/0.1704, allocations: 3.611 MB / 0.975 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1704, allocations: 4 kB / 0.975 GB, free: 15.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.1709, allocations: 187.7 kB / 0.9752 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/0.1735, allocations: 1.171 MB / 0.9763 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.1736, allocations: 35.94 kB / 0.9764 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007746/0.1814, allocations: 7.654 MB / 0.9838 GB, free: 6.613 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.1814, allocations: 7.938 kB / 0.9838 GB, free: 6.605 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.1843, allocations: 1.871 MB / 0.9857 GB, free: 4.656 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008196/0.1851, allocations: 378.1 kB / 0.986 GB, free: 4.285 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.1854, allocations: 32 kB / 0.9861 GB, free: 4.254 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/0.1862, allocations: 36 kB / 0.9861 GB, free: 4.219 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004348/0.1866, allocations: 156.9 kB / 0.9862 GB, free: 4.066 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.1867, allocations: 36 kB / 0.9863 GB, free: 4.031 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009115/0.1876, allocations: 0.8508 MB / 0.9871 GB, free: 3.168 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1876, allocations: 0 / 0.9871 GB, free: 3.168 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002622/0.1902, allocations: 1.066 MB / 0.9882 GB, free: 2.102 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002333/0.1905, allocations: 124.2 kB / 0.9883 GB, free: 1.969 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00348/0.194, allocations: 2.155 MB / 0.9904 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-05/0.194, allocations: 37.88 kB / 0.9904 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.1962, allocations: 1.55 MB / 0.9919 GB, free: 14.14 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.1989, allocations: 0.9861 MB / 0.9929 GB, free: 13.19 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.2113, allocations: 7.972 MB / 1.001 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.2127, allocations: 1.246 MB / 1.002 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001327/0.214, allocations: 323.1 kB / 1.002 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/0.2158, allocations: 0.745 MB / 1.003 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of SimCode: time 1.583e-06/0.2158, allocations: 0 / 1.003 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of Templates: time 0.4106/0.6264, allocations: 55.59 MB / 1.057 GB, free: 181.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.832607894670218]