Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001888/0.001888, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002822/0.002822, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.616/1.616, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.049/3.049, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.156e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04576/0.04579, allocations: 30.93 MB / 0.841 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0257/0.07149, allocations: 13.76 MB / 0.8545 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003128/0.07462, allocations: 198.4 kB / 0.8547 GB, free: 5.145 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.009567/0.08418, allocations: 3.293 MB / 0.8579 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.009793/0.09398, allocations: 2.842 MB / 0.8606 GB, free: 14.98 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006173/0.1001, allocations: 2.038 MB / 0.8626 GB, free: 12.93 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01266/0.1128, allocations: 7.787 MB / 0.8702 GB, free: 5.121 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009501/0.1223, allocations: 4.635 MB / 0.8748 GB, free: 372 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01215/0.1345, allocations: 4.943 MB / 0.8796 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007194/0.1417, allocations: 3.242 MB / 0.8828 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.00188/0.1435, allocations: 0.5898 MB / 0.8833 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/0.1478, allocations: 1.419 MB / 0.8847 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003996/0.1518, allocations: 2.564 MB / 0.8872 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.005461/0.1573, allocations: 2.019 MB / 0.8892 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.1719, allocations: 9.657 MB / 0.8986 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1719, allocations: 0 / 0.8986 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1719, allocations: 0 / 0.8986 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002874/0.1721, allocations: 0 / 0.8986 GB, free: 7.871 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0163/0.1885, allocations: 5.873 MB / 0.9044 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.1885, allocations: 8.031 kB / 0.9044 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007773/0.1963, allocations: 1.558 MB / 0.9059 GB, free: 360 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008561/0.2048, allocations: 3.023 MB / 0.9088 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004814/0.2053, allocations: 320.8 kB / 0.9091 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/0.2068, allocations: 436.3 kB / 0.9096 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.219, allocations: 5.134 MB / 0.9146 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.2191, allocations: 23.81 kB / 0.9146 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005065/0.2196, allocations: 188 kB / 0.9148 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009795/0.2206, allocations: 368 kB / 0.9151 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006228/0.2268, allocations: 1.94 MB / 0.917 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03973/0.2666, allocations: 25.69 MB / 0.9421 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.2682, allocations: 0.6671 MB / 0.9428 GB, free: 9.242 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.2694, allocations: 0.6281 MB / 0.9434 GB, free: 8.613 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.2695, allocations: 29.3 kB / 0.9434 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.2696, allocations: 58.7 kB / 0.9435 GB, free: 8.516 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=130): time 3.036e-06/0.2696, allocations: 0 / 0.9435 GB, free: 8.516 MB / 0.9011 GB Notification: Performance of matching and sorting (n=199): time 0.02319/0.2928, allocations: 7.302 MB / 0.9506 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.2929, allocations: 77.34 kB / 0.9507 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00373/0.2966, allocations: 2.36 MB / 0.953 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.2968, allocations: 61.7 kB / 0.953 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/0.2989, allocations: 2.254 MB / 0.9552 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009339/0.2998, allocations: 0.7791 MB / 0.956 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009687/0.3008, allocations: 0.4946 MB / 0.9565 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002366/0.301, allocations: 476.8 kB / 0.9569 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.3026, allocations: 0.7151 MB / 0.9576 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/0.3052, allocations: 1.616 MB / 0.9592 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/0.3095, allocations: 2.514 MB / 0.9617 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.3095, allocations: 7.938 kB / 0.9617 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01067/0.3201, allocations: 3.897 MB / 0.9655 GB, free: 1.059 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.3202, allocations: 12 kB / 0.9655 GB, free: 1.047 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.3202, allocations: 20.16 kB / 0.9655 GB, free: 1.027 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009764/0.33, allocations: 1.989 MB / 0.9674 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.3316, allocations: 379.4 kB / 0.9678 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04459/0.3762, allocations: 37.92 MB / 1.005 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.3785, allocations: 123.9 kB / 1.005 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.3788, allocations: 92.47 kB / 1.005 GB, free: 6.242 MB / 0.9636 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001437/0.3802, allocations: 467.9 kB / 1.005 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000664/0.3809, allocations: 330.4 kB / 1.006 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009826/0.3907, allocations: 3.36 MB / 1.009 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.3907, allocations: 27.94 kB / 1.009 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.702e-05/0.3908, allocations: 16 kB / 1.009 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/0.3908, allocations: 11.95 kB / 1.009 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/0.4102, allocations: 8.038 MB / 1.017 GB, free: 9.652 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.4102, allocations: 4 kB / 1.017 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009703/0.4112, allocations: 219.8 kB / 1.017 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008795/0.42, allocations: 1.848 MB / 1.019 GB, free: 7.512 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/0.4202, allocations: 48 kB / 1.019 GB, free: 7.465 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4358/0.856, allocations: 37.55 MB / 1.056 GB, free: 249.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.856, allocations: 16 kB / 1.056 GB, free: 249.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007091/0.8631, allocations: 3.458 MB / 1.059 GB, free: 249.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/0.8646, allocations: 0.5076 MB / 1.06 GB, free: 249.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/0.8649, allocations: 45.23 kB / 1.06 GB, free: 249.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.8663, allocations: 130.5 kB / 1.06 GB, free: 249.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005726/0.8669, allocations: 193.9 kB / 1.06 GB, free: 249.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.867, allocations: 60.16 kB / 1.06 GB, free: 249.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00152/0.8685, allocations: 1.335 MB / 1.061 GB, free: 248.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.8685, allocations: 0 / 1.061 GB, free: 248.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003095/0.8716, allocations: 1.053 MB / 1.062 GB, free: 248.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002578/0.8719, allocations: 169.1 kB / 1.063 GB, free: 248.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007602/0.8795, allocations: 5.888 MB / 1.068 GB, free: 245.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.8795, allocations: 5.844 kB / 1.068 GB, free: 245.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005388/0.8849, allocations: 4.819 MB / 1.073 GB, free: 242.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/0.8886, allocations: 0.9077 MB / 1.074 GB, free: 242.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.8994, allocations: 7.523 MB / 1.081 GB, free: 239.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/0.9018, allocations: 2.342 MB / 1.083 GB, free: 239.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001457/0.9033, allocations: 434.8 kB / 1.084 GB, free: 239.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.9036, allocations: 136.8 kB / 1.084 GB, free: 239.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.142e-06/0.9036, allocations: 0 / 1.084 GB, free: 239.1 MB / 1.01 GB Notification: Performance of Templates: time 0.09144/0.9951, allocations: 61.45 MB / 1.144 GB, free: 213.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 10.967778219026513]