Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.002426/0.002426, allocations: 87.69 kB / 20.24 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.003042/0.003042, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.02/3.02, 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8108 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.309e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01192/0.01196, allocations: 6.868 MB / 0.8175 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006376/0.01833, allocations: 3.138 MB / 0.8206 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005332/0.01886, allocations: 41.06 kB / 0.8206 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.02168, allocations: 0.9835 MB / 0.8216 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.02312, allocations: 0.532 MB / 0.8221 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.02426, allocations: 450.4 kB / 0.8225 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.02585, allocations: 1.272 MB / 0.8238 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008808/0.02673, allocations: 0.5295 MB / 0.8243 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009867/0.02772, allocations: 0.6702 MB / 0.8249 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007513/0.02847, allocations: 475.6 kB / 0.8254 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.02859, allocations: 68 kB / 0.8255 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000692/0.02928, allocations: 348 kB / 0.8258 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003692/0.02965, allocations: 335.1 kB / 0.8261 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.03008, allocations: 320.5 kB / 0.8264 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.03196, allocations: 1.254 MB / 0.8276 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.03196, allocations: 4 kB / 0.8276 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.03196, allocations: 0 / 0.8276 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.03198, allocations: 0.5 kB / 0.8276 GB, free: 15.67 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002181/0.03416, allocations: 1.265 MB / 0.8289 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.0342, allocations: 15.5 kB / 0.8289 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.03583, allocations: 343.7 kB / 0.8292 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.03696, allocations: 0.5582 MB / 0.8298 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.03702, allocations: 53.67 kB / 0.8298 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.03714, allocations: 76.3 kB / 0.8299 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.03879, allocations: 1.142 MB / 0.831 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.03883, allocations: 8.125 kB / 0.831 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.03891, allocations: 33.3 kB / 0.831 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001754/0.03909, allocations: 89.19 kB / 0.8311 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.04, allocations: 422.8 kB / 0.8315 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006816/0.04682, allocations: 5.911 MB / 0.8373 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008287/0.04764, allocations: 310.3 kB / 0.8376 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.04796, allocations: 149.1 kB / 0.8377 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.04801, allocations: 9.219 kB / 0.8378 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.04806, allocations: 41.89 kB / 0.8378 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 2.414e-06/0.04806, allocations: 1.656 kB / 0.8378 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.003471/0.05153, allocations: 1.148 MB / 0.8389 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.05158, allocations: 59.84 kB / 0.839 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008155/0.05239, allocations: 0.639 MB / 0.8396 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.05245, allocations: 37.7 kB / 0.8396 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.05285, allocations: 490.6 kB / 0.8401 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.05304, allocations: 186.5 kB / 0.8403 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.05329, allocations: 148.2 kB / 0.8404 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003532/0.05365, allocations: 0.5626 MB / 0.841 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.05398, allocations: 149.9 kB / 0.8411 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/0.05484, allocations: 468.6 kB / 0.8416 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009992/0.05584, allocations: 0.6483 MB / 0.8422 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.05584, allocations: 4 kB / 0.8422 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001771/0.05761, allocations: 0.8115 MB / 0.843 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.05763, allocations: 8 kB / 0.843 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.05765, allocations: 8 kB / 0.843 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.05913, allocations: 327 kB / 0.8433 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.05963, allocations: 127.8 kB / 0.8434 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008165/0.06779, allocations: 7.795 MB / 0.8511 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.06843, allocations: 39.97 kB / 0.8511 GB, free: 6.309 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.06849, allocations: 31.94 kB / 0.8511 GB, free: 6.277 MB / 0.7605 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003514/0.06884, allocations: 220.6 kB / 0.8513 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.06898, allocations: 79.62 kB / 0.8514 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.07042, allocations: 0.5962 MB / 0.852 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.07042, allocations: 7.938 kB / 0.852 GB, free: 5.344 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.07043, allocations: 7.984 kB / 0.852 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.07044, allocations: 0 / 0.852 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.07307, allocations: 1.33 MB / 0.8533 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.07308, allocations: 0 / 0.8533 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.07336, allocations: 59.89 kB / 0.8534 GB, free: 3.863 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.07472, allocations: 314.5 kB / 0.8537 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.07476, allocations: 12 kB / 0.8537 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00798/0.08274, allocations: 7.779 MB / 0.8613 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.08274, allocations: 0 / 0.8613 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.08451, allocations: 0.7835 MB / 0.862 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.08483, allocations: 107.5 kB / 0.8621 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.08491, allocations: 12 kB / 0.8621 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.08526, allocations: 23.97 kB / 0.8622 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.08538, allocations: 47.86 kB / 0.8622 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.08542, allocations: 16 kB / 0.8622 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005038/0.08592, allocations: 406.8 kB / 0.8626 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.08592, allocations: 0 / 0.8626 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008198/0.08674, allocations: 228 kB / 0.8628 GB, free: 9.59 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001657/0.08691, allocations: 111.2 kB / 0.8629 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.08903, allocations: 1.268 MB / 0.8642 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.08903, allocations: 0 / 0.8642 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.09051, allocations: 0.996 MB / 0.8652 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.09152, allocations: 199.2 kB / 0.8653 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.09388, allocations: 1.294 MB / 0.8666 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.09436, allocations: 396.8 kB / 0.867 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003433/0.09471, allocations: 109.5 kB / 0.8671 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.09482, allocations: 44.48 kB / 0.8671 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.09482, allocations: 0 / 0.8671 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of Templates: time 0.02287/0.1177, allocations: 11.46 MB / 0.8783 GB, free: 9.758 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 8.387257656082511]