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.001632/0.001632, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.002123/0.002123, allocations: 214.9 kB / 22.99 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.248/3.248, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 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.002105/0.002105, allocations: 66.95 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3089, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01457/0.3234, allocations: 10.69 MB / 1.338 GB, free: 6.234 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009886/0.3333, allocations: 5.649 MB / 1.343 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00078/0.3341, allocations: 75.31 kB / 1.343 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.3388, allocations: 1.723 MB / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.3419, allocations: 1.19 MB / 1.346 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.344, allocations: 0.8131 MB / 1.347 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002705/0.3467, allocations: 2.131 MB / 1.349 GB, free: 10.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.3485, allocations: 1.025 MB / 1.35 GB, free: 9.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.3507, allocations: 0.8796 MB / 1.351 GB, free: 8.676 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.3525, allocations: 0.9688 MB / 1.352 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.3528, allocations: 112 kB / 1.352 GB, free: 7.594 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.3548, allocations: 1.072 MB / 1.353 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005896/0.3554, allocations: 0.5413 MB / 1.353 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007919/0.3562, allocations: 0.6452 MB / 1.354 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.3595, allocations: 2.451 MB / 1.356 GB, free: 2.867 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3595, allocations: 0 / 1.356 GB, free: 2.867 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3595, allocations: 0 / 1.356 GB, free: 2.867 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.612e-05/0.3595, allocations: 0 / 1.356 GB, free: 2.867 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.003165/0.3627, allocations: 1.844 MB / 1.358 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3628, allocations: 16.02 kB / 1.358 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.3675, allocations: 0.6709 MB / 1.359 GB, free: 300 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.3696, allocations: 0.9213 MB / 1.36 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.433e-05/0.3697, allocations: 98.89 kB / 1.36 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/0.37, allocations: 120.4 kB / 1.36 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/0.3735, allocations: 2.408 MB / 1.362 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.3736, allocations: 19.83 kB / 1.362 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.3737, allocations: 63.95 kB / 1.362 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/0.374, allocations: 162.3 kB / 1.363 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/0.3771, allocations: 1.859 MB / 1.364 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.3888, allocations: 9.2 MB / 1.373 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00472/0.3936, allocations: 1.874 MB / 1.375 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009021/0.3945, allocations: 0.5542 MB / 1.376 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.3946, allocations: 20.98 kB / 1.376 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3946, allocations: 51.56 kB / 1.376 GB, free: 14.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.276e-06/0.3946, allocations: 0 / 1.376 GB, free: 14.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006346/0.401, allocations: 3.122 MB / 1.379 GB, free: 11.19 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.401, allocations: 68.34 kB / 1.379 GB, free: 11.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.4022, allocations: 0.873 MB / 1.38 GB, free: 10.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/0.4023, allocations: 49.7 kB / 1.38 GB, free: 10.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/0.4029, allocations: 0.7571 MB / 1.381 GB, free: 9.398 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.4032, allocations: 400.6 kB / 1.381 GB, free: 9.004 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.4037, allocations: 295.4 kB / 1.381 GB, free: 8.711 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4038, allocations: 301.1 kB / 1.381 GB, free: 8.414 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00099/0.4048, allocations: 0.6129 MB / 1.382 GB, free: 7.801 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.4062, allocations: 1.106 MB / 1.383 GB, free: 6.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.4088, allocations: 1.832 MB / 1.385 GB, free: 4.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.4088, allocations: 8 kB / 1.385 GB, free: 4.422 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003802/0.4126, allocations: 2.105 MB / 1.387 GB, free: 2.285 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.4126, allocations: 12 kB / 1.387 GB, free: 2.273 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.4126, allocations: 16 kB / 1.387 GB, free: 2.258 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009139/0.4135, allocations: 258.8 kB / 1.387 GB, free: 1.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.4149, allocations: 375.4 kB / 1.388 GB, free: 1.613 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.4249, allocations: 10.57 MB / 1.398 GB, free: 6.223 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.4263, allocations: 127.8 kB / 1.398 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.4264, allocations: 72.3 kB / 1.398 GB, free: 6.027 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.0006822/0.4271, allocations: 408 kB / 1.399 GB, free: 5.621 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.4273, allocations: 131.2 kB / 1.399 GB, free: 5.492 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.4304, allocations: 1.675 MB / 1.4 GB, free: 3.781 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.4304, allocations: 8 kB / 1.4 GB, free: 3.773 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4304, allocations: 4 kB / 1.4 GB, free: 3.77 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4304, allocations: 3.984 kB / 1.4 GB, free: 3.766 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/0.4358, allocations: 2.942 MB / 1.403 GB, free: 0.6953 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.4358, allocations: 4 kB / 1.403 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009097/0.4367, allocations: 219.6 kB / 1.403 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007802/0.4375, allocations: 239.2 kB / 1.404 GB, free: 224 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.972e-05/0.4376, allocations: 35.94 kB / 1.404 GB, free: 188 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009517/0.4471, allocations: 10.55 MB / 1.414 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.4471, allocations: 11.94 kB / 1.414 GB, free: 4.801 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.4502, allocations: 1.796 MB / 1.416 GB, free: 2.895 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/0.4509, allocations: 223.1 kB / 1.416 GB, free: 2.676 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.451, allocations: 39.88 kB / 1.416 GB, free: 2.637 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/0.4517, allocations: 87.88 kB / 1.416 GB, free: 2.551 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.452, allocations: 104.8 kB / 1.416 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.452, allocations: 36 kB / 1.416 GB, free: 2.414 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007775/0.4528, allocations: 0.5686 MB / 1.417 GB, free: 1.836 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.4528, allocations: 0 / 1.417 GB, free: 1.836 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001433/0.4542, allocations: 392 kB / 1.417 GB, free: 1.453 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.0002368/0.4545, allocations: 140.8 kB / 1.417 GB, free: 1.309 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003829/0.4583, allocations: 2.406 MB / 1.42 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4583, allocations: 4 kB / 1.42 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.4606, allocations: 1.579 MB / 1.421 GB, free: 13.12 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.4623, allocations: 349.3 kB / 1.421 GB, free: 12.79 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.4671, allocations: 2.804 MB / 1.424 GB, free: 9.887 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008649/0.468, allocations: 0.7371 MB / 1.425 GB, free: 9.113 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00103/0.469, allocations: 347 kB / 1.425 GB, free: 8.77 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.4693, allocations: 99.41 kB / 1.425 GB, free: 8.676 MB / 1.123 GB Notification: Performance of SimCode: time 1.012e-06/0.4693, allocations: 0 / 1.425 GB, free: 8.676 MB / 1.123 GB Notification: Performance of Templates: time 0.03644/0.5058, allocations: 19.51 MB / 1.444 GB, free: 5.496 MB / 1.139 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 cvode -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.503423525005928]