Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00145/0.00145, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001558/0.001558, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.566/1.566, allocations: 177.1 MB / 203.9 MB, free: 5.582 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 2.842/2.842, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.653e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.06432/0.06436, allocations: 30.84 MB / 0.8409 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.08503, allocations: 10.16 MB / 0.8509 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.08815, allocations: 194.5 kB / 0.851 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.09918, allocations: 3.741 MB / 0.8547 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006267/0.1054, allocations: 2 MB / 0.8567 GB, free: 3.066 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.006501/0.1119, allocations: 2.162 MB / 0.8588 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01092/0.1229, allocations: 7.453 MB / 0.866 GB, free: 9.426 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/0.1332, allocations: 5.124 MB / 0.871 GB, free: 4.176 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009327/0.1425, allocations: 4.6 MB / 0.8755 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006602/0.1491, allocations: 3.234 MB / 0.8787 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.151, allocations: 0.6484 MB / 0.8793 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.1558, allocations: 1.676 MB / 0.881 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004994/0.1608, allocations: 2.728 MB / 0.8836 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.005808/0.1666, allocations: 2.016 MB / 0.8856 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01597/0.1826, allocations: 10.33 MB / 0.8957 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1826, allocations: 4 kB / 0.8957 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1826, allocations: 0 / 0.8957 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003156/0.1829, allocations: 0 / 0.8957 GB, free: 10.88 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01451/0.1974, allocations: 4.994 MB / 0.9006 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1975, allocations: 8.031 kB / 0.9006 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008535/0.206, allocations: 1.589 MB / 0.9021 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/0.2137, allocations: 3.178 MB / 0.9052 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004139/0.2141, allocations: 349.7 kB / 0.9056 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001565/0.2157, allocations: 480.2 kB / 0.906 GB, free: 172 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.2367, allocations: 7.965 MB / 0.9138 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003256/0.237, allocations: 35.94 kB / 0.9138 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00165/0.2387, allocations: 200.3 kB / 0.914 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005283/0.2392, allocations: 312.9 kB / 0.9143 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.2534, allocations: 5.706 MB / 0.9199 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04207/0.2954, allocations: 22.05 MB / 0.9414 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.2985, allocations: 1.554 MB / 0.9429 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.3006, allocations: 1.132 MB / 0.944 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.3007, allocations: 21.31 kB / 0.9441 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.3007, allocations: 43.88 kB / 0.9441 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=133): time 3.747e-06/0.3007, allocations: 0 / 0.9441 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136): time 0.01622/0.317, allocations: 6.254 MB / 0.9502 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.317, allocations: 64.72 kB / 0.9503 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.3196, allocations: 1.411 MB / 0.9517 GB, free: 288 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.3197, allocations: 49.7 kB / 0.9517 GB, free: 232 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00192/0.3217, allocations: 2.053 MB / 0.9537 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005962/0.3223, allocations: 0.4957 MB / 0.9542 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006475/0.3229, allocations: 351.3 kB / 0.9545 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3231, allocations: 305.1 kB / 0.9548 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.3247, allocations: 0.9096 MB / 0.9557 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.3271, allocations: 1.597 MB / 0.9573 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/0.3312, allocations: 2.733 MB / 0.9599 GB, free: 7.148 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/0.3313, allocations: 4 kB / 0.9599 GB, free: 7.145 MB / 0.9167 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007415/0.3387, allocations: 3.594 MB / 0.9634 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.3387, allocations: 12 kB / 0.9635 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/0.3387, allocations: 28.09 kB / 0.9635 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00366/0.3424, allocations: 0.9975 MB / 0.9645 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.3437, allocations: 351.4 kB / 0.9648 GB, free: 2.082 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02716/0.3709, allocations: 21.53 MB / 0.9858 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.3725, allocations: 103.9 kB / 0.9859 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/0.3729, allocations: 88 kB / 0.986 GB, free: 11.14 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.00326/0.3761, allocations: 1.609 MB / 0.9876 GB, free: 9.516 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006934/0.3768, allocations: 246.8 kB / 0.9878 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006384/0.3832, allocations: 2.951 MB / 0.9907 GB, free: 6.262 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.3832, allocations: 19.94 kB / 0.9907 GB, free: 6.242 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-05/0.3832, allocations: 8 kB / 0.9907 GB, free: 6.234 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.3833, allocations: 15.91 kB / 0.9907 GB, free: 6.219 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.3974, allocations: 6.015 MB / 0.9966 GB, free: 80 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.3974, allocations: 4 kB / 0.9966 GB, free: 76 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.3983, allocations: 175.7 kB / 0.9968 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003394/0.4017, allocations: 0.9277 MB / 0.9977 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.4019, allocations: 28 kB / 0.9977 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/0.4282, allocations: 20.37 MB / 1.018 GB, free: 9.301 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4282, allocations: 8.125 kB / 1.018 GB, free: 9.293 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006917/0.4351, allocations: 3.033 MB / 1.021 GB, free: 6.156 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.4363, allocations: 382.6 kB / 1.021 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004416/0.4367, allocations: 28 kB / 1.021 GB, free: 5.754 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.4377, allocations: 71.91 kB / 1.021 GB, free: 5.684 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/0.4382, allocations: 136.6 kB / 1.021 GB, free: 5.547 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.4383, allocations: 36 kB / 1.021 GB, free: 5.512 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001716/0.44, allocations: 0.8981 MB / 1.022 GB, free: 4.621 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.44, allocations: 0 / 1.022 GB, free: 4.621 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00327/0.4432, allocations: 0.793 MB / 1.023 GB, free: 3.828 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003249/0.4436, allocations: 151.2 kB / 1.023 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007285/0.4509, allocations: 3.924 MB / 1.027 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.4509, allocations: 0 / 1.027 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004592/0.4555, allocations: 2.669 MB / 1.029 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/0.4591, allocations: 0.721 MB / 1.03 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.4754, allocations: 7.42 MB / 1.037 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005263/0.4806, allocations: 2.572 MB / 1.04 GB, free: 1.926 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001998/0.4826, allocations: 453.2 kB / 1.04 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.4831, allocations: 108.5 kB / 1.04 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of SimCode: time 1.753e-06/0.4831, allocations: 0 / 1.04 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of Templates: time 0.3954/0.8785, allocations: 36.4 MB / 1.076 GB, free: 258.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 9.577750848024152]