Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001446/0.001446, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001585/0.001585, allocations: 159.2 kB / 23.01 MB, free: 4.949 MB / 14.72 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.542/1.542, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.883/2.883, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 59.91 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4141, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01674/0.4308, allocations: 10.7 MB / 1.128 GB, free: 7.836 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.4429, allocations: 5.661 MB / 1.133 GB, free: 2.156 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.4444, allocations: 71.38 kB / 1.134 GB, free: 2.086 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005115/0.4495, allocations: 1.727 MB / 1.135 GB, free: 364 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.883/1.332, allocations: 1.182 MB / 1.136 GB, free: 44.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/1.335, allocations: 0.8137 MB / 1.137 GB, free: 44.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00297/1.338, allocations: 2.123 MB / 1.139 GB, free: 44.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/1.339, allocations: 1.01 MB / 1.14 GB, free: 44.54 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/1.341, allocations: 0.8829 MB / 1.141 GB, free: 44.43 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/1.342, allocations: 0.9055 MB / 1.142 GB, free: 44.28 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/1.342, allocations: 113.9 kB / 1.142 GB, free: 44.28 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/1.344, allocations: 1.06 MB / 1.143 GB, free: 44.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000514/1.345, allocations: 0.5384 MB / 1.144 GB, free: 44.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000713/1.345, allocations: 0.6492 MB / 1.144 GB, free: 43.99 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002701/1.348, allocations: 2.451 MB / 1.147 GB, free: 43.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.348, allocations: 0 / 1.147 GB, free: 43.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.264e-06/1.348, allocations: 0.6562 kB / 1.147 GB, free: 43.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.687e-05/1.348, allocations: 0 / 1.147 GB, free: 43.61 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002814/1.351, allocations: 1.841 MB / 1.148 GB, free: 42.69 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.351, allocations: 11.5 kB / 1.148 GB, free: 42.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/1.355, allocations: 0.69 MB / 1.149 GB, free: 42.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/1.357, allocations: 0.9177 MB / 1.15 GB, free: 42.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/1.357, allocations: 98.55 kB / 1.15 GB, free: 42.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/1.357, allocations: 130.2 kB / 1.15 GB, free: 42.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/1.36, allocations: 2.402 MB / 1.153 GB, free: 41.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/1.36, allocations: 16.62 kB / 1.153 GB, free: 41.28 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/1.36, allocations: 67.22 kB / 1.153 GB, free: 41.24 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/1.361, allocations: 160.1 kB / 1.153 GB, free: 41.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/1.363, allocations: 1.861 MB / 1.155 GB, free: 40.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009206/1.372, allocations: 9.205 MB / 1.164 GB, free: 33.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003931/1.376, allocations: 1.861 MB / 1.165 GB, free: 33.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/1.377, allocations: 0.5549 MB / 1.166 GB, free: 33.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/1.377, allocations: 24.16 kB / 1.166 GB, free: 33.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/1.377, allocations: 45.67 kB / 1.166 GB, free: 32.99 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 5.33e-06/1.377, allocations: 2.656 kB / 1.166 GB, free: 32.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.005844/1.383, allocations: 3.12 MB / 1.169 GB, free: 31.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/1.383, allocations: 64.66 kB / 1.169 GB, free: 31.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/1.385, allocations: 0.8795 MB / 1.17 GB, free: 31.33 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/1.385, allocations: 49.48 kB / 1.17 GB, free: 31.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/1.385, allocations: 0.7562 MB / 1.171 GB, free: 30.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/1.385, allocations: 403.9 kB / 1.171 GB, free: 30.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/1.386, allocations: 289.4 kB / 1.171 GB, free: 30.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.617e-05/1.386, allocations: 301.1 kB / 1.172 GB, free: 29.94 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008431/1.387, allocations: 0.6138 MB / 1.172 GB, free: 29.74 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.388, allocations: 1.108 MB / 1.173 GB, free: 28.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.39, allocations: 1.834 MB / 1.175 GB, free: 27.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.39, allocations: 4.188 kB / 1.175 GB, free: 27.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003955/1.394, allocations: 2.103 MB / 1.177 GB, free: 26.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/1.394, allocations: 12.25 kB / 1.177 GB, free: 26.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.394, allocations: 15.28 kB / 1.177 GB, free: 26.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/1.395, allocations: 259.8 kB / 1.178 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.396, allocations: 373.2 kB / 1.178 GB, free: 26.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006745/1.403, allocations: 10.56 MB / 1.188 GB, free: 16.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.405, allocations: 127.9 kB / 1.188 GB, free: 16.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/1.405, allocations: 78.17 kB / 1.188 GB, free: 16.61 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007779/1.405, allocations: 401.7 kB / 1.189 GB, free: 16.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/1.406, allocations: 128.8 kB / 1.189 GB, free: 16.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/1.409, allocations: 1.672 MB / 1.191 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.409, allocations: 10.84 kB / 1.191 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.409, allocations: 3.188 kB / 1.191 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/1.409, allocations: 5.812 kB / 1.191 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005319/1.414, allocations: 2.941 MB / 1.193 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/1.414, allocations: 6.328 kB / 1.193 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009228/1.415, allocations: 222.7 kB / 1.194 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007559/1.416, allocations: 240.5 kB / 1.194 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/1.416, allocations: 32.38 kB / 1.194 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00957/1.426, allocations: 10.56 MB / 1.204 GB, free: 20.05 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.426, allocations: 12.62 kB / 1.204 GB, free: 20.05 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/1.429, allocations: 1.788 MB / 1.206 GB, free: 19.14 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/1.43, allocations: 223.4 kB / 1.206 GB, free: 19.04 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/1.43, allocations: 36.38 kB / 1.206 GB, free: 19.01 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/1.431, allocations: 92.5 kB / 1.206 GB, free: 19 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/1.431, allocations: 107.3 kB / 1.206 GB, free: 18.96 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/1.431, allocations: 36.2 kB / 1.206 GB, free: 18.96 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000895/1.432, allocations: 0.5652 MB / 1.207 GB, free: 18.72 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.432, allocations: 0 / 1.207 GB, free: 18.72 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002068/1.434, allocations: 393.2 kB / 1.207 GB, free: 18.68 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002815/1.434, allocations: 142.3 kB / 1.208 GB, free: 18.55 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004355/1.438, allocations: 2.4 MB / 1.21 GB, free: 17.2 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.439, allocations: 1.094 kB / 1.21 GB, free: 17.2 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00244/1.441, allocations: 1.589 MB / 1.211 GB, free: 16.09 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/1.443, allocations: 345.3 kB / 1.212 GB, free: 15.98 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/1.448, allocations: 2.804 MB / 1.215 GB, free: 14.55 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.449, allocations: 0.7338 MB / 1.215 GB, free: 14.37 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001137/1.45, allocations: 355.3 kB / 1.216 GB, free: 14.3 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/1.45, allocations: 93.17 kB / 1.216 GB, free: 14.29 MB / 1.092 GB Notification: Performance of SimCode: time 1.363e-06/1.45, allocations: 0 / 1.216 GB, free: 14.29 MB / 1.092 GB Notification: Performance of Templates: time 0.04045/1.491, allocations: 17.31 MB / 1.233 GB, free: 12.45 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.5257599609904]