Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001419/0.001419, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001913/0.001913, allocations: 165 kB / 23.82 MB, free: 0.7422 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 0.9416/0.9416, allocations: 177.1 MB / 204.2 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.93/1.93, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.509e-05, allocations: 3.031 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01274/0.01278, allocations: 9.867 MB / 0.8212 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007833/0.02061, allocations: 5.999 MB / 0.827 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.02189, allocations: 92.53 kB / 0.8271 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.02291, allocations: 369.1 kB / 0.8275 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.02604, allocations: 1.429 MB / 0.8289 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.02732, allocations: 0.6546 MB / 0.8295 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002843/0.03016, allocations: 2.619 MB / 0.8321 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.03163, allocations: 1.176 MB / 0.8332 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.03382, allocations: 1.579 MB / 0.8347 GB, free: 9.883 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.03514, allocations: 0.9934 MB / 0.8357 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.03542, allocations: 160 kB / 0.8359 GB, free: 8.73 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.03607, allocations: 331.5 kB / 0.8362 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.03664, allocations: 0.6543 MB / 0.8368 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0007656/0.0374, allocations: 0.643 MB / 0.8375 GB, free: 7.105 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.03918, allocations: 1.534 MB / 0.839 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.03919, allocations: 0 / 0.839 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.733e-06/0.03919, allocations: 0 / 0.839 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.347e-05/0.03922, allocations: 0 / 0.839 GB, free: 5.566 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002688/0.04191, allocations: 2.143 MB / 0.841 GB, free: 3.379 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.04195, allocations: 12.03 kB / 0.8411 GB, free: 3.367 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.04706, allocations: 1.778 MB / 0.8428 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.04909, allocations: 1.202 MB / 0.844 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.04929, allocations: 98.66 kB / 0.8441 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.04954, allocations: 128.3 kB / 0.8442 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.05217, allocations: 1.952 MB / 0.8461 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.0522, allocations: 7.875 kB / 0.8461 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.05232, allocations: 55.98 kB / 0.8462 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003617/0.05268, allocations: 178.1 kB / 0.8463 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.05406, allocations: 0.8408 MB / 0.8471 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008417/0.06248, allocations: 8.341 MB / 0.8553 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.06408, allocations: 0.7926 MB / 0.8561 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005322/0.06461, allocations: 375.1 kB / 0.8564 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/0.06468, allocations: 16.98 kB / 0.8564 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.06471, allocations: 50.39 kB / 0.8565 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.216e-06/0.06472, allocations: 0 / 0.8565 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.009389/0.0741, allocations: 4.853 MB / 0.8612 GB, free: 14.13 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.07415, allocations: 64.72 kB / 0.8613 GB, free: 14.06 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.07531, allocations: 0.9524 MB / 0.8622 GB, free: 13.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.07542, allocations: 49.7 kB / 0.8623 GB, free: 13.04 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.0758, allocations: 0.7776 MB / 0.863 GB, free: 12.25 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/0.07611, allocations: 479.9 kB / 0.8635 GB, free: 11.78 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003372/0.07645, allocations: 261.1 kB / 0.8637 GB, free: 11.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.07661, allocations: 0.5316 MB / 0.8642 GB, free: 10.98 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.07723, allocations: 427.8 kB / 0.8647 GB, free: 10.56 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/0.07799, allocations: 0.7687 MB / 0.8654 GB, free: 9.664 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.07944, allocations: 1.23 MB / 0.8666 GB, free: 8.301 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.07945, allocations: 0 / 0.8666 GB, free: 8.301 MB / 0.823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004213/0.08366, allocations: 2.321 MB / 0.8689 GB, free: 5.914 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.08369, allocations: 11.84 kB / 0.8689 GB, free: 5.906 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.0837, allocations: 8 kB / 0.8689 GB, free: 5.898 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/0.08756, allocations: 1.299 MB / 0.8702 GB, free: 4.543 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.08878, allocations: 335.3 kB / 0.8705 GB, free: 4.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/0.1081, allocations: 26.4 MB / 0.8963 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.1098, allocations: 191.9 kB / 0.8964 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.11, allocations: 59.97 kB / 0.8965 GB, free: 7.98 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000494/0.1105, allocations: 232.4 kB / 0.8967 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.1108, allocations: 203 kB / 0.8969 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.1154, allocations: 2.212 MB / 0.8991 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.1155, allocations: 12 kB / 0.8991 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.27e-05/0.1155, allocations: 16 kB / 0.8991 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.1155, allocations: 15.89 kB / 0.8991 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007195/0.1227, allocations: 3.66 MB / 0.9027 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.1227, allocations: 0 / 0.9027 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008823/0.1236, allocations: 271.5 kB / 0.9029 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004326/0.1279, allocations: 1.229 MB / 0.9042 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.1281, allocations: 35.97 kB / 0.9042 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/0.1472, allocations: 25.59 MB / 0.9292 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.1472, allocations: 7.938 kB / 0.9292 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/0.1529, allocations: 2.209 MB / 0.9313 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.1539, allocations: 350.8 kB / 0.9317 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.1542, allocations: 24 kB / 0.9317 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.1556, allocations: 199.7 kB / 0.9319 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005582/0.1561, allocations: 140.6 kB / 0.932 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.1563, allocations: 51.97 kB / 0.9321 GB, free: 1.551 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008982/0.1572, allocations: 0.5802 MB / 0.9326 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1572, allocations: 0 / 0.9326 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001693/0.1589, allocations: 0.5664 MB / 0.9332 GB, free: 408 kB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/0.1591, allocations: 143 kB / 0.9333 GB, free: 252 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004248/0.1634, allocations: 3.885 MB / 0.9371 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.1634, allocations: 4 kB / 0.9371 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.1669, allocations: 3.28 MB / 0.9403 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.1686, allocations: 0.5137 MB / 0.9408 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.1731, allocations: 3.003 MB / 0.9438 GB, free: 5.035 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.1736, allocations: 459.1 kB / 0.9442 GB, free: 4.562 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000887/0.1745, allocations: 352.3 kB / 0.9445 GB, free: 4.215 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.1748, allocations: 108.4 kB / 0.9446 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of SimCode: time 1.683e-06/0.1748, allocations: 0 / 0.9446 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of Templates: time 0.04498/0.2197, allocations: 40.88 MB / 0.9846 GB, free: 11.93 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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.147196521982551]