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.0009722/0.0009722, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001161/0.001161, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9581/0.9581, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.897/1.897, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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 1.833e-06/1.833e-06, allocations: 0 / 0.8115 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.535e-05, allocations: 8.141 kB / 0.8115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01545/0.01548, allocations: 14.22 MB / 0.8254 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.02613, allocations: 9.588 MB / 0.8348 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.02751, allocations: 88.38 kB / 0.8349 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.03048, allocations: 1.714 MB / 0.8365 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005273/0.03575, allocations: 1.635 MB / 0.8381 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.038, allocations: 0.7598 MB / 0.8389 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004104/0.0421, allocations: 2.594 MB / 0.8414 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.04426, allocations: 1.188 MB / 0.8426 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.04717, allocations: 1.594 MB / 0.8441 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.04912, allocations: 0.9973 MB / 0.8451 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.04956, allocations: 160 kB / 0.8452 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.05122, allocations: 0.7288 MB / 0.846 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007448/0.05196, allocations: 0.6504 MB / 0.8466 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.05307, allocations: 0.6468 MB / 0.8472 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005416/0.05849, allocations: 1.795 MB / 0.849 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.0585, allocations: 0 / 0.849 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.633e-06/0.0585, allocations: 4 kB / 0.849 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.604e-05/0.05853, allocations: 0 / 0.849 GB, free: 10.48 MB / 0.7605 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.003498/0.06203, allocations: 2.205 MB / 0.8511 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.06208, allocations: 8.031 kB / 0.8511 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008161/0.07024, allocations: 1.77 MB / 0.8529 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.07285, allocations: 1.222 MB / 0.8541 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.07293, allocations: 90.73 kB / 0.8542 GB, free: 5.086 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.07321, allocations: 128.3 kB / 0.8543 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.07695, allocations: 1.948 MB / 0.8562 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.07699, allocations: 15.86 kB / 0.8562 GB, free: 2.762 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.07711, allocations: 55.98 kB / 0.8562 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003501/0.07746, allocations: 182.1 kB / 0.8564 GB, free: 2.527 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.0788, allocations: 0.833 MB / 0.8572 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/0.08631, allocations: 8.326 MB / 0.8654 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.08783, allocations: 0.8079 MB / 0.8662 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.08833, allocations: 359.2 kB / 0.8665 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.08838, allocations: 17 kB / 0.8665 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.08841, allocations: 50.39 kB / 0.8666 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=89): time 3.376e-06/0.08842, allocations: 0 / 0.8666 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.009411/0.09783, allocations: 4.868 MB / 0.8713 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.09788, allocations: 72.72 kB / 0.8714 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.09871, allocations: 0.9524 MB / 0.8723 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/0.0988, allocations: 45.7 kB / 0.8724 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.09918, allocations: 0.7815 MB / 0.8731 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.09949, allocations: 483.9 kB / 0.8736 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.09983, allocations: 261.1 kB / 0.8738 GB, free: 364 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1, allocations: 0.5355 MB / 0.8744 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.1006, allocations: 415.8 kB / 0.8747 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007749/0.1014, allocations: 0.7688 MB / 0.8755 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.1031, allocations: 1.223 MB / 0.8767 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1031, allocations: 4 kB / 0.8767 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003832/0.1069, allocations: 2.329 MB / 0.879 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.107, allocations: 8 kB / 0.879 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.107, allocations: 8 kB / 0.879 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003347/0.1103, allocations: 1.299 MB / 0.8803 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.1111, allocations: 323.4 kB / 0.8806 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.1267, allocations: 26.4 MB / 0.9063 GB, free: 13.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.128, allocations: 187.7 kB / 0.9065 GB, free: 12.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/0.1281, allocations: 63.97 kB / 0.9066 GB, free: 12.83 MB / 0.823 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.0004572/0.1285, allocations: 233.4 kB / 0.9068 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.1288, allocations: 203 kB / 0.907 GB, free: 12.39 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/0.1324, allocations: 2.212 MB / 0.9092 GB, free: 10.11 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1324, allocations: 12 kB / 0.9092 GB, free: 10.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.1324, allocations: 12 kB / 0.9092 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1324, allocations: 15.91 kB / 0.9092 GB, free: 10.07 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005556/0.138, allocations: 3.664 MB / 0.9128 GB, free: 6.262 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.138, allocations: 4 kB / 0.9128 GB, free: 6.258 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.1386, allocations: 263.6 kB / 0.913 GB, free: 6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003061/0.1417, allocations: 1.221 MB / 0.9142 GB, free: 4.723 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.789e-05/0.1418, allocations: 47.97 kB / 0.9143 GB, free: 4.676 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/0.1558, allocations: 25.59 MB / 0.9393 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1558, allocations: 4 kB / 0.9393 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/0.1593, allocations: 2.193 MB / 0.9414 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005118/0.1598, allocations: 362.8 kB / 0.9418 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.16, allocations: 24 kB / 0.9418 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.1607, allocations: 195.7 kB / 0.942 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/0.1611, allocations: 132.6 kB / 0.9421 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.1612, allocations: 47.97 kB / 0.9421 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005361/0.1617, allocations: 0.588 MB / 0.9427 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.1617, allocations: 0 / 0.9427 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001495/0.1632, allocations: 0.5703 MB / 0.9433 GB, free: 5.254 MB / 0.8542 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.0002499/0.1635, allocations: 143.7 kB / 0.9434 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00404/0.1675, allocations: 3.896 MB / 0.9472 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1675, allocations: 4.125 kB / 0.9472 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/0.17, allocations: 3.264 MB / 0.9504 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.1714, allocations: 0.523 MB / 0.9509 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.1758, allocations: 2.999 MB / 0.9538 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.1763, allocations: 459.1 kB / 0.9543 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008383/0.1771, allocations: 344.4 kB / 0.9546 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.1774, allocations: 104.4 kB / 0.9547 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of SimCode: time 2.395e-06/0.1774, allocations: 0 / 0.9547 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of Templates: time 0.0464/0.2238, allocations: 40.9 MB / 0.9947 GB, free: 0.7852 MB / 0.9011 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.038321832893416]