Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001214/0.001214, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001246/0.001246, allocations: 169 kB / 23.02 MB, free: 1.551 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.9782/0.9782, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.033/2.033, allocations: 429.5 MB / 0.6733 GB, free: 3.977 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.149e-05, allocations: 3.375 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01268/0.01271, allocations: 9.875 MB / 0.8878 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007852/0.02057, allocations: 5.987 MB / 0.8937 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007617/0.02133, allocations: 83.25 kB / 0.8937 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008631/0.02219, allocations: 385 kB / 0.8941 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.02465, allocations: 1.434 MB / 0.8955 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.02574, allocations: 0.655 MB / 0.8961 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.02829, allocations: 2.613 MB / 0.8987 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.02965, allocations: 1.192 MB / 0.8999 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.03152, allocations: 1.571 MB / 0.9014 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.03277, allocations: 1.013 MB / 0.9024 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003059/0.03307, allocations: 164 kB / 0.9025 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.03361, allocations: 323.6 kB / 0.9029 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004116/0.03402, allocations: 0.6582 MB / 0.9035 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.03457, allocations: 0.6352 MB / 0.9041 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.0358, allocations: 1.53 MB / 0.9056 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.03581, allocations: 4 kB / 0.9056 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.112e-06/0.03581, allocations: 0 / 0.9056 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.684e-05/0.03584, allocations: 0 / 0.9056 GB, free: 10.06 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002176/0.03802, allocations: 2.151 MB / 0.9077 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.03805, allocations: 12.03 kB / 0.9077 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004444/0.0425, allocations: 1.747 MB / 0.9094 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.04376, allocations: 1.2 MB / 0.9106 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.04381, allocations: 86.73 kB / 0.9107 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.04397, allocations: 132.3 kB / 0.9108 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.04617, allocations: 1.952 MB / 0.9127 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.0462, allocations: 15.83 kB / 0.9127 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.04631, allocations: 55.97 kB / 0.9128 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003548/0.04667, allocations: 174.1 kB / 0.913 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.04793, allocations: 0.8447 MB / 0.9138 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/0.05456, allocations: 8.416 MB / 0.922 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.05611, allocations: 0.8046 MB / 0.9228 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.05659, allocations: 363 kB / 0.9231 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.05663, allocations: 13 kB / 0.9231 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.05666, allocations: 50.39 kB / 0.9232 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=89): time 2.865e-06/0.05666, allocations: 0 / 0.9232 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of matching and sorting (n=131): time 0.008925/0.06559, allocations: 5.005 MB / 0.9281 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.06562, allocations: 64.72 kB / 0.9281 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007239/0.06634, allocations: 0.9525 MB / 0.9291 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.06643, allocations: 49.7 kB / 0.9291 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/0.06696, allocations: 0.7853 MB / 0.9299 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.06724, allocations: 479.9 kB / 0.9303 GB, free: 80 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.06756, allocations: 261.1 kB / 0.9306 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.06769, allocations: 0.5316 MB / 0.9311 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.06825, allocations: 415.8 kB / 0.9315 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/0.06897, allocations: 0.7688 MB / 0.9323 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.07031, allocations: 1.227 MB / 0.9335 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.07031, allocations: 0 / 0.9335 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.00389/0.0742, allocations: 2.387 MB / 0.9358 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.07422, allocations: 8 kB / 0.9358 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.07423, allocations: 8 kB / 0.9358 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003991/0.07822, allocations: 1.44 MB / 0.9372 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.07897, allocations: 327.4 kB / 0.9375 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.09336, allocations: 26.53 MB / 0.9634 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008763/0.09424, allocations: 199.8 kB / 0.9636 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.09433, allocations: 59.97 kB / 0.9637 GB, free: 11.95 MB / 0.9323 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.0003858/0.09472, allocations: 236.3 kB / 0.9639 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.09509, allocations: 199 kB / 0.9641 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.09884, allocations: 2.271 MB / 0.9663 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.09885, allocations: 12 kB / 0.9663 GB, free: 9.16 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.09887, allocations: 12 kB / 0.9663 GB, free: 9.148 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.09888, allocations: 11.91 kB / 0.9663 GB, free: 9.137 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/0.1042, allocations: 3.761 MB / 0.97 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1042, allocations: 4 kB / 0.97 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/0.1049, allocations: 271.5 kB / 0.9703 GB, free: 4.965 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003688/0.1085, allocations: 1.369 MB / 0.9716 GB, free: 3.539 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.1086, allocations: 35.97 kB / 0.9716 GB, free: 3.504 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.1216, allocations: 25.74 MB / 0.9968 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1216, allocations: 7.938 kB / 0.9968 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003654/0.1253, allocations: 2.271 MB / 0.999 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.1257, allocations: 358.8 kB / 0.9994 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.1258, allocations: 24 kB / 0.9994 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.1266, allocations: 199.7 kB / 0.9996 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/0.1268, allocations: 140.6 kB / 0.9997 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/0.1269, allocations: 43.97 kB / 0.9997 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004659/0.1274, allocations: 0.5841 MB / 1 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.1274, allocations: 4 kB / 1 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001311/0.1287, allocations: 0.5859 MB / 1.001 GB, free: 3.836 MB / 0.9636 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.0002213/0.1289, allocations: 135.1 kB / 1.001 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003522/0.1324, allocations: 3.908 MB / 1.005 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1324, allocations: 4.062 kB / 1.005 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.1349, allocations: 3.287 MB / 1.008 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.1361, allocations: 0.5042 MB / 1.009 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.1396, allocations: 3.041 MB / 1.012 GB, free: 8.418 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.14, allocations: 455.1 kB / 1.012 GB, free: 7.949 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007134/0.1407, allocations: 344.4 kB / 1.012 GB, free: 7.609 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.141, allocations: 104.4 kB / 1.012 GB, free: 7.508 MB / 0.9792 GB Notification: Performance of SimCode: time 8.51e-07/0.141, allocations: 0 / 1.012 GB, free: 7.508 MB / 0.9792 GB Notification: Performance of Templates: time 0.3381/0.4791, allocations: 43.78 MB / 1.055 GB, free: 185.9 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.399723895825446]