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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 249.4 MB, free: 3.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 476.7 MB / 0.7629 GB, free: 15.32 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.89 kB / 1.107 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9255/0.9276, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01209/0.9397, allocations: 11.6 MB / 1.283 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.951, allocations: 5.993 MB / 1.289 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.9526, allocations: 50.44 kB / 1.289 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005101/0.9577, allocations: 1.787 MB / 1.291 GB, free: 11.14 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004266/0.962, allocations: 1.186 MB / 1.292 GB, free: 10.47 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.9647, allocations: 0.814 MB / 1.293 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004058/0.9688, allocations: 2.127 MB / 1.295 GB, free: 9.098 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.9706, allocations: 0.8952 MB / 1.296 GB, free: 8.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.9726, allocations: 0.8514 MB / 1.297 GB, free: 8.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.9747, allocations: 0.9681 MB / 1.298 GB, free: 7.875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004363/0.9751, allocations: 114.6 kB / 1.298 GB, free: 7.875 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.9784, allocations: 1.21 MB / 1.299 GB, free: 7.457 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009425/0.9793, allocations: 0.5343 MB / 1.299 GB, free: 7.227 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.9811, allocations: 0.7909 MB / 1.3 GB, free: 6.742 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005761/0.9868, allocations: 2.434 MB / 1.303 GB, free: 5.895 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.9868, allocations: 0.5625 kB / 1.303 GB, free: 5.895 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9868, allocations: 1.406 kB / 1.303 GB, free: 5.895 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001065/0.9869, allocations: 0 / 1.303 GB, free: 5.895 MB / 1.014 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.005137/0.9921, allocations: 1.921 MB / 1.304 GB, free: 4.617 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.9921, allocations: 9.688 kB / 1.304 GB, free: 4.617 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005437/0.9976, allocations: 0.6805 MB / 1.305 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/1, allocations: 1.008 MB / 1.306 GB, free: 3.918 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/1, allocations: 98.39 kB / 1.306 GB, free: 3.871 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/1.001, allocations: 129.8 kB / 1.306 GB, free: 3.824 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004284/1.005, allocations: 2.207 MB / 1.308 GB, free: 2.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.238e-05/1.005, allocations: 14.05 kB / 1.309 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/1.005, allocations: 61.62 kB / 1.309 GB, free: 2.539 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002399/1.005, allocations: 161.9 kB / 1.309 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003519/1.009, allocations: 1.869 MB / 1.311 GB, free: 1.867 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/1.024, allocations: 12.45 MB / 1.323 GB, free: 7.359 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00462/1.029, allocations: 1.876 MB / 1.325 GB, free: 6.832 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009495/1.03, allocations: 0.5557 MB / 1.325 GB, free: 6.652 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/1.03, allocations: 100.2 kB / 1.325 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/1.03, allocations: 47.56 kB / 1.325 GB, free: 6.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 3.196e-06/1.03, allocations: 1.312 kB / 1.325 GB, free: 6.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.0072/1.037, allocations: 3.735 MB / 1.329 GB, free: 4.527 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/1.037, allocations: 63.31 kB / 1.329 GB, free: 4.465 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/1.039, allocations: 0.9241 MB / 1.33 GB, free: 4.078 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.227e-05/1.039, allocations: 41.38 kB / 1.33 GB, free: 4.035 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/1.04, allocations: 0.7496 MB / 1.331 GB, free: 3.434 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/1.04, allocations: 408.8 kB / 1.331 GB, free: 3.113 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/1.041, allocations: 286.7 kB / 1.331 GB, free: 2.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.041, allocations: 305.7 kB / 1.332 GB, free: 2.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/1.042, allocations: 0.6119 MB / 1.332 GB, free: 2.477 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/1.044, allocations: 1.104 MB / 1.333 GB, free: 1.648 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/1.046, allocations: 1.832 MB / 1.335 GB, free: 452 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/1.046, allocations: 5.406 kB / 1.335 GB, free: 452 kB / 1.029 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003936/1.05, allocations: 2.109 MB / 1.337 GB, free: 15.58 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/1.05, allocations: 19.55 kB / 1.337 GB, free: 15.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/1.05, allocations: 20.44 kB / 1.337 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008884/1.051, allocations: 258.4 kB / 1.337 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.052, allocations: 373.1 kB / 1.338 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/1.063, allocations: 11.58 MB / 1.349 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/1.064, allocations: 139.2 kB / 1.349 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/1.065, allocations: 70.17 kB / 1.349 GB, free: 3.969 MB / 1.045 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.001033/1.066, allocations: 398.5 kB / 1.35 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/1.066, allocations: 140.4 kB / 1.35 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/1.069, allocations: 1.67 MB / 1.351 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.069, allocations: 11.66 kB / 1.351 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.069, allocations: 2.625 kB / 1.351 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.069, allocations: 10.05 kB / 1.351 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006139/1.076, allocations: 3.292 MB / 1.355 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.076, allocations: 4.906 kB / 1.355 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/1.076, allocations: 223 kB / 1.355 GB, free: 1.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000752/1.077, allocations: 243.7 kB / 1.355 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.904e-05/1.077, allocations: 31.03 kB / 1.355 GB, free: 1.211 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.087, allocations: 11.56 MB / 1.366 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/1.087, allocations: 10.22 kB / 1.366 GB, free: 5.438 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/1.09, allocations: 1.808 MB / 1.368 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007586/1.091, allocations: 317.4 kB / 1.368 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/1.091, allocations: 26.78 kB / 1.368 GB, free: 4.031 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008615/1.092, allocations: 89.91 kB / 1.369 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/1.093, allocations: 102.6 kB / 1.369 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/1.093, allocations: 37.67 kB / 1.369 GB, free: 3.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009702/1.094, allocations: 0.6163 MB / 1.369 GB, free: 3.559 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.094, allocations: 0 / 1.369 GB, free: 3.559 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001719/1.095, allocations: 393.3 kB / 1.37 GB, free: 3.516 MB / 1.061 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.0002745/1.096, allocations: 147.8 kB / 1.37 GB, free: 3.391 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003937/1.1, allocations: 2.403 MB / 1.372 GB, free: 1.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.1, allocations: 2.125 kB / 1.372 GB, free: 1.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002297/1.102, allocations: 1.585 MB / 1.374 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/1.104, allocations: 375 kB / 1.374 GB, free: 328 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/1.109, allocations: 2.799 MB / 1.377 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.11, allocations: 1.331 MB / 1.378 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001151/1.112, allocations: 359.7 kB / 1.378 GB, free: 13.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/1.112, allocations: 94.52 kB / 1.379 GB, free: 13.43 MB / 1.076 GB Notification: Performance of SimCode: time 1.903e-06/1.112, allocations: 0.75 kB / 1.379 GB, free: 13.43 MB / 1.076 GB Notification: Performance of Templates: time 0.03538/1.147, allocations: 18.06 MB / 1.396 GB, free: 1.18 MB / 1.076 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 -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/jenkins/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: 9.41637565754354]