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.002008/0.002008, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.002665/0.002665, allocations: 219.3 kB / 22.26 MB, free: 5.207 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 8 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.186/3.186, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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.002071/0.002071, allocations: 70.39 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3575, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01626/0.3738, allocations: 11.62 MB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.3849, allocations: 6.019 MB / 1.344 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.3863, allocations: 67.38 kB / 1.344 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005036/0.3914, allocations: 1.804 MB / 1.345 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.3951, allocations: 1.186 MB / 1.347 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.3976, allocations: 0.8312 MB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003156/0.4008, allocations: 2.124 MB / 1.349 GB, free: 9.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.4026, allocations: 1.025 MB / 1.35 GB, free: 8.672 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.4041, allocations: 0.8796 MB / 1.351 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.4056, allocations: 0.961 MB / 1.352 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.4058, allocations: 116 kB / 1.352 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.4084, allocations: 1.212 MB / 1.354 GB, free: 5.496 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006623/0.409, allocations: 0.5452 MB / 1.354 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.4101, allocations: 0.781 MB / 1.355 GB, free: 4.164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003951/0.414, allocations: 2.44 MB / 1.357 GB, free: 1.715 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.414, allocations: 0 / 1.357 GB, free: 1.715 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4141, allocations: 0 / 1.357 GB, free: 1.715 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.228e-05/0.4141, allocations: 0 / 1.357 GB, free: 1.715 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.003526/0.4176, allocations: 1.848 MB / 1.359 GB, free: 15.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4177, allocations: 8.031 kB / 1.359 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/0.4222, allocations: 0.6709 MB / 1.36 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.4244, allocations: 0.9213 MB / 1.361 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/0.4245, allocations: 98.89 kB / 1.361 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.4247, allocations: 128.3 kB / 1.361 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.4281, allocations: 2.207 MB / 1.363 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/0.4282, allocations: 19.89 kB / 1.363 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.4283, allocations: 55.97 kB / 1.363 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002284/0.4285, allocations: 166.3 kB / 1.363 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003137/0.4317, allocations: 1.863 MB / 1.365 GB, free: 9.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.4454, allocations: 11.74 MB / 1.376 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0045/0.4499, allocations: 1.878 MB / 1.378 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008877/0.4508, allocations: 0.5581 MB / 1.379 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.4509, allocations: 16.98 kB / 1.379 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.451, allocations: 47.56 kB / 1.379 GB, free: 10.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.537e-06/0.451, allocations: 0 / 1.379 GB, free: 10.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006353/0.4573, allocations: 3.129 MB / 1.382 GB, free: 7.227 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.4574, allocations: 72.34 kB / 1.382 GB, free: 7.145 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4586, allocations: 0.9206 MB / 1.383 GB, free: 6.207 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/0.4587, allocations: 41.7 kB / 1.383 GB, free: 6.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006243/0.4593, allocations: 0.7494 MB / 1.384 GB, free: 5.402 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.4596, allocations: 404.6 kB / 1.384 GB, free: 5.004 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.4601, allocations: 287.4 kB / 1.384 GB, free: 4.719 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4602, allocations: 301.1 kB / 1.385 GB, free: 4.422 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009993/0.4612, allocations: 0.6129 MB / 1.385 GB, free: 3.809 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.4628, allocations: 1.117 MB / 1.386 GB, free: 2.477 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/0.4654, allocations: 1.824 MB / 1.388 GB, free: 444 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.4654, allocations: 8 kB / 1.388 GB, free: 436 kB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00379/0.4692, allocations: 2.1 MB / 1.39 GB, free: 14.29 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.4692, allocations: 13.88 kB / 1.39 GB, free: 14.28 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.4692, allocations: 16.91 kB / 1.39 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008464/0.4701, allocations: 262.5 kB / 1.39 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.4714, allocations: 379.4 kB / 1.391 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.4815, allocations: 10.77 MB / 1.401 GB, free: 1.922 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.4828, allocations: 123.8 kB / 1.401 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.4829, allocations: 75.92 kB / 1.402 GB, free: 1.727 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.0008035/0.4837, allocations: 399.6 kB / 1.402 GB, free: 1.328 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.484, allocations: 139.2 kB / 1.402 GB, free: 1.191 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.487, allocations: 1.685 MB / 1.404 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.487, allocations: 8 kB / 1.404 GB, free: 15.46 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.487, allocations: 4 kB / 1.404 GB, free: 15.46 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.487, allocations: 3.984 kB / 1.404 GB, free: 15.45 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005413/0.4924, allocations: 3.267 MB / 1.407 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.4924, allocations: 4 kB / 1.407 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008895/0.4933, allocations: 223.6 kB / 1.407 GB, free: 11.83 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007153/0.494, allocations: 243 kB / 1.407 GB, free: 11.57 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-05/0.4941, allocations: 27.94 kB / 1.407 GB, free: 11.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00977/0.5039, allocations: 10.75 MB / 1.418 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.5039, allocations: 8 kB / 1.418 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.5069, allocations: 1.804 MB / 1.42 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006571/0.5076, allocations: 239 kB / 1.42 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.5077, allocations: 27.94 kB / 1.42 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007104/0.5084, allocations: 99.86 kB / 1.42 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.5087, allocations: 100.6 kB / 1.42 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.5087, allocations: 32 kB / 1.42 GB, free: 13.46 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008575/0.5096, allocations: 0.6216 MB / 1.421 GB, free: 12.83 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.5096, allocations: 0 / 1.421 GB, free: 12.83 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001407/0.511, allocations: 392 kB / 1.421 GB, free: 12.45 MB / 1.123 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.0002448/0.5112, allocations: 147 kB / 1.421 GB, free: 12.29 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003838/0.5151, allocations: 2.399 MB / 1.424 GB, free: 9.793 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5151, allocations: 0 / 1.424 GB, free: 9.793 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002273/0.5173, allocations: 1.591 MB / 1.425 GB, free: 8.105 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.519, allocations: 353.1 kB / 1.425 GB, free: 7.77 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.524, allocations: 2.805 MB / 1.428 GB, free: 4.863 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.5254, allocations: 1.331 MB / 1.43 GB, free: 3.496 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00102/0.5264, allocations: 363.3 kB / 1.43 GB, free: 3.137 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.5267, allocations: 95.42 kB / 1.43 GB, free: 3.047 MB / 1.123 GB Notification: Performance of SimCode: time 8.32e-07/0.5267, allocations: 0 / 1.43 GB, free: 3.047 MB / 1.123 GB Notification: Performance of Templates: time 0.0367/0.5634, allocations: 18.46 MB / 1.448 GB, free: 0.7734 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 -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/jenkins/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.589350075926632]