Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001806/0.001806, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.002222/0.002222, allocations: 155.5 kB / 23.01 MB, free: 4.945 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.78/2.78, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002142/0.002142, allocations: 71.88 kB / 0.982 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9198/0.9219, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009689/0.9316, allocations: 10.69 MB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007773/0.9394, allocations: 5.656 MB / 1.17 GB, free: 22.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008908/0.9403, allocations: 72.47 kB / 1.17 GB, free: 22.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003702/0.944, allocations: 1.733 MB / 1.172 GB, free: 21.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.9464, allocations: 1.182 MB / 1.173 GB, free: 21.28 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.9481, allocations: 0.818 MB / 1.174 GB, free: 20.88 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.9504, allocations: 2.126 MB / 1.176 GB, free: 19.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.9515, allocations: 1.02 MB / 1.177 GB, free: 19.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.9526, allocations: 0.8739 MB / 1.178 GB, free: 19.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.9537, allocations: 0.9101 MB / 1.178 GB, free: 18.67 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.9539, allocations: 114.1 kB / 1.179 GB, free: 18.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.9557, allocations: 1.053 MB / 1.18 GB, free: 18.33 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004994/0.9562, allocations: 0.5376 MB / 1.18 GB, free: 18.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009506/0.9572, allocations: 0.6453 MB / 1.181 GB, free: 17.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.9618, allocations: 2.45 MB / 1.183 GB, free: 16.91 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9618, allocations: 1.281 kB / 1.183 GB, free: 16.91 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9618, allocations: 3.938 kB / 1.183 GB, free: 16.91 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.554e-05/0.9618, allocations: 4.703 kB / 1.183 GB, free: 16.9 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.002875/0.9647, allocations: 1.845 MB / 1.185 GB, free: 15.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.9647, allocations: 8.562 kB / 1.185 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/0.9693, allocations: 0.6824 MB / 1.186 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.971, allocations: 0.9146 MB / 1.186 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.9711, allocations: 100.9 kB / 1.187 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.9713, allocations: 127.6 kB / 1.187 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.9743, allocations: 2.417 MB / 1.189 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.9743, allocations: 18.12 kB / 1.189 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.9744, allocations: 61.47 kB / 1.189 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/0.9747, allocations: 166.4 kB / 1.189 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.9774, allocations: 1.856 MB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008857/0.9863, allocations: 9.202 MB / 1.2 GB, free: 5.801 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004109/0.9904, allocations: 1.871 MB / 1.202 GB, free: 5.262 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/0.9911, allocations: 0.5622 MB / 1.202 GB, free: 5.074 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.9913, allocations: 24.59 kB / 1.202 GB, free: 5.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.9913, allocations: 40.81 kB / 1.203 GB, free: 5.023 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.036e-06/0.9913, allocations: 0 / 1.203 GB, free: 5.023 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.005682/0.997, allocations: 3.124 MB / 1.206 GB, free: 3.805 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.997, allocations: 71.72 kB / 1.206 GB, free: 3.734 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009993/0.998, allocations: 0.8763 MB / 1.207 GB, free: 3.348 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.9981, allocations: 40.95 kB / 1.207 GB, free: 3.305 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.9984, allocations: 0.7602 MB / 1.207 GB, free: 2.695 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.9986, allocations: 404.9 kB / 1.208 GB, free: 2.379 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.999, allocations: 285.9 kB / 1.208 GB, free: 2.246 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.999, allocations: 303 kB / 1.208 GB, free: 1.949 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008871/0.9999, allocations: 0.6127 MB / 1.209 GB, free: 1.746 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.001, allocations: 1.108 MB / 1.21 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/1.003, allocations: 1.83 MB / 1.212 GB, free: 15.74 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/1.003, allocations: 4.594 kB / 1.212 GB, free: 15.74 MB / 1.092 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00374/1.007, allocations: 2.098 MB / 1.214 GB, free: 14.89 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/1.007, allocations: 12 kB / 1.214 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.007, allocations: 19.31 kB / 1.214 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008616/1.008, allocations: 257.1 kB / 1.214 GB, free: 14.79 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.009, allocations: 373.7 kB / 1.214 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009761/1.019, allocations: 10.57 MB / 1.225 GB, free: 4.648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.021, allocations: 124.6 kB / 1.225 GB, free: 4.625 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/1.021, allocations: 70.86 kB / 1.225 GB, free: 4.613 MB / 1.092 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.0009479/1.022, allocations: 405.9 kB / 1.225 GB, free: 4.352 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/1.022, allocations: 133.9 kB / 1.225 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/1.025, allocations: 1.671 MB / 1.227 GB, free: 3.59 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.025, allocations: 11.78 kB / 1.227 GB, free: 3.59 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.025, allocations: 2.312 kB / 1.227 GB, free: 3.59 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/1.025, allocations: 5.859 kB / 1.227 GB, free: 3.59 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005424/1.03, allocations: 2.935 MB / 1.23 GB, free: 2.258 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.03, allocations: 5.938 kB / 1.23 GB, free: 2.258 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008568/1.031, allocations: 227.8 kB / 1.23 GB, free: 2.234 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007/1.032, allocations: 245.3 kB / 1.23 GB, free: 2.129 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/1.032, allocations: 30.47 kB / 1.23 GB, free: 2.109 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009402/1.041, allocations: 10.56 MB / 1.241 GB, free: 8 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.041, allocations: 10.44 kB / 1.241 GB, free: 7.996 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/1.044, allocations: 1.79 MB / 1.242 GB, free: 7.086 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007024/1.045, allocations: 229.3 kB / 1.243 GB, free: 6.977 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/1.045, allocations: 36.03 kB / 1.243 GB, free: 6.953 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007438/1.046, allocations: 88.33 kB / 1.243 GB, free: 6.941 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/1.046, allocations: 100.7 kB / 1.243 GB, free: 6.914 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/1.046, allocations: 31.66 kB / 1.243 GB, free: 6.91 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007837/1.047, allocations: 0.5703 MB / 1.244 GB, free: 6.668 MB / 1.107 GB Notification: Performance of sort global known variables: time 6e-08/1.047, allocations: 0 / 1.244 GB, free: 6.668 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001506/1.049, allocations: 391.5 kB / 1.244 GB, free: 6.625 MB / 1.107 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.000237/1.049, allocations: 146.2 kB / 1.244 GB, free: 6.5 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00412/1.053, allocations: 2.399 MB / 1.246 GB, free: 5.141 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.053, allocations: 0.875 kB / 1.246 GB, free: 5.141 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/1.055, allocations: 1.588 MB / 1.248 GB, free: 4.035 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/1.057, allocations: 342.3 kB / 1.248 GB, free: 3.91 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/1.062, allocations: 2.813 MB / 1.251 GB, free: 2.469 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/1.063, allocations: 0.7337 MB / 1.252 GB, free: 2.285 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001054/1.064, allocations: 342.4 kB / 1.252 GB, free: 2.234 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/1.065, allocations: 94.16 kB / 1.252 GB, free: 2.219 MB / 1.107 GB Notification: Performance of SimCode: time 8.52e-07/1.065, allocations: 0 / 1.252 GB, free: 2.219 MB / 1.107 GB Notification: Performance of Templates: time 0.03322/1.098, allocations: 17.31 MB / 1.269 GB, free: 12.87 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.477929744054563]