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.001916/0.001916, allocations: 104.2 kB / 19.74 MB, free: 2.062 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.00218/0.00218, allocations: 214.6 kB / 23.04 MB, free: 4.852 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.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 3.058/3.058, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 177] 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.002015/0.002015, allocations: 67.39 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4088, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0142/0.423, allocations: 10.69 MB / 1.338 GB, free: 6.203 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.4333, allocations: 5.653 MB / 1.343 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.4344, allocations: 67.38 kB / 1.343 GB, free: 476 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004433/0.4389, allocations: 1.739 MB / 1.345 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.4423, allocations: 1.178 MB / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.4447, allocations: 0.8213 MB / 1.347 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003262/0.448, allocations: 2.116 MB / 1.349 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.4494, allocations: 1.025 MB / 1.35 GB, free: 9.535 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.4509, allocations: 0.8835 MB / 1.351 GB, free: 8.648 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.4522, allocations: 0.8986 MB / 1.352 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.4524, allocations: 119.9 kB / 1.352 GB, free: 7.629 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.4546, allocations: 1.056 MB / 1.353 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005922/0.4552, allocations: 0.5491 MB / 1.353 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007463/0.456, allocations: 0.6452 MB / 1.354 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.4593, allocations: 2.451 MB / 1.356 GB, free: 2.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4593, allocations: 0 / 1.356 GB, free: 2.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4593, allocations: 0 / 1.356 GB, free: 2.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.4594, allocations: 0 / 1.356 GB, free: 2.91 MB / 1.045 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.00327/0.4626, allocations: 1.844 MB / 1.358 GB, free: 1.023 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4627, allocations: 8.031 kB / 1.358 GB, free: 1.016 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/0.4671, allocations: 0.6826 MB / 1.359 GB, free: 340 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.4691, allocations: 0.9252 MB / 1.36 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/0.4692, allocations: 90.91 kB / 1.36 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.4694, allocations: 128.3 kB / 1.36 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/0.4729, allocations: 2.412 MB / 1.362 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/0.4729, allocations: 15.89 kB / 1.362 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.4731, allocations: 59.97 kB / 1.362 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.4733, allocations: 166.2 kB / 1.363 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.4762, allocations: 1.851 MB / 1.364 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.4878, allocations: 9.211 MB / 1.373 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.4921, allocations: 1.87 MB / 1.375 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/0.4929, allocations: 0.5542 MB / 1.376 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.4931, allocations: 20.98 kB / 1.376 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/0.4932, allocations: 47.56 kB / 1.376 GB, free: 14.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 4.669e-06/0.4932, allocations: 0 / 1.376 GB, free: 14.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006838/0.5, allocations: 3.126 MB / 1.379 GB, free: 11.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.5001, allocations: 72.28 kB / 1.379 GB, free: 11.15 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.5012, allocations: 0.873 MB / 1.38 GB, free: 10.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.5013, allocations: 45.7 kB / 1.38 GB, free: 10.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/0.5019, allocations: 0.7571 MB / 1.381 GB, free: 9.438 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/0.5024, allocations: 404.6 kB / 1.381 GB, free: 9.039 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004576/0.5028, allocations: 287.4 kB / 1.381 GB, free: 8.754 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.503, allocations: 301.1 kB / 1.381 GB, free: 8.457 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009794/0.504, allocations: 0.6168 MB / 1.382 GB, free: 7.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.5054, allocations: 1.106 MB / 1.383 GB, free: 6.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.5079, allocations: 1.828 MB / 1.385 GB, free: 4.469 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.5079, allocations: 8 kB / 1.385 GB, free: 4.461 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003667/0.5116, allocations: 2.1 MB / 1.387 GB, free: 2.332 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.5116, allocations: 12 kB / 1.387 GB, free: 2.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.5117, allocations: 16.91 kB / 1.387 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008554/0.5125, allocations: 258.6 kB / 1.387 GB, free: 2.027 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.5138, allocations: 375.4 kB / 1.388 GB, free: 1.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009435/0.5233, allocations: 10.57 MB / 1.398 GB, free: 6.27 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.5247, allocations: 131.8 kB / 1.398 GB, free: 6.141 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.5248, allocations: 71.97 kB / 1.398 GB, free: 6.07 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.0007617/0.5256, allocations: 405.8 kB / 1.399 GB, free: 5.664 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.5258, allocations: 135.2 kB / 1.399 GB, free: 5.531 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.5287, allocations: 1.675 MB / 1.4 GB, free: 3.82 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5287, allocations: 8 kB / 1.4 GB, free: 3.812 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.5287, allocations: 4 kB / 1.4 GB, free: 3.809 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.5287, allocations: 3.984 kB / 1.4 GB, free: 3.805 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/0.5339, allocations: 2.939 MB / 1.403 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.5339, allocations: 4 kB / 1.403 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/0.5348, allocations: 223.7 kB / 1.403 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007094/0.5355, allocations: 242.6 kB / 1.404 GB, free: 256 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/0.5355, allocations: 31.94 kB / 1.404 GB, free: 224 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009454/0.545, allocations: 10.55 MB / 1.414 GB, free: 4.848 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/0.545, allocations: 15.94 kB / 1.414 GB, free: 4.832 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.548, allocations: 1.796 MB / 1.416 GB, free: 2.93 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/0.5487, allocations: 223.1 kB / 1.416 GB, free: 2.711 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.5488, allocations: 39.86 kB / 1.416 GB, free: 2.672 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/0.5495, allocations: 87.88 kB / 1.416 GB, free: 2.586 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.5497, allocations: 96.72 kB / 1.416 GB, free: 2.492 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/0.5498, allocations: 36 kB / 1.416 GB, free: 2.457 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007734/0.5505, allocations: 0.5647 MB / 1.417 GB, free: 1.883 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.5505, allocations: 0 / 1.417 GB, free: 1.883 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001472/0.552, allocations: 395.9 kB / 1.417 GB, free: 1.496 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.0002355/0.5522, allocations: 154.7 kB / 1.417 GB, free: 1.34 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003813/0.556, allocations: 2.411 MB / 1.42 GB, free: 14.82 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.5561, allocations: 0 / 1.42 GB, free: 14.82 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.5582, allocations: 1.586 MB / 1.421 GB, free: 13.14 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.5598, allocations: 338.7 kB / 1.421 GB, free: 12.82 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.5645, allocations: 2.902 MB / 1.424 GB, free: 9.805 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/0.5653, allocations: 0.7332 MB / 1.425 GB, free: 9.035 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.5656, allocations: 111.4 kB / 1.425 GB, free: 8.93 MB / 1.123 GB Notification: Performance of SimCode: time 1.333e-06/0.5656, allocations: 4 kB / 1.425 GB, free: 8.926 MB / 1.123 GB Notification: Performance of Templates: time 0.06744/0.6331, allocations: 59.73 MB / 1.483 GB, free: 13.2 MB / 1.186 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 -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: 16.183524902909994]