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.001709/0.001709, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.002081/0.002081, allocations: 204 kB / 20.09 MB, free: 2.977 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.95/2.95, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.002084/0.002084, allocations: 71.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.006, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01156/1.017, allocations: 11.28 MB / 1.333 GB, free: 17.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009502/1.027, allocations: 5.894 MB / 1.339 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/1.028, allocations: 77.62 kB / 1.339 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004758/1.033, allocations: 1.751 MB / 1.341 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004122/1.037, allocations: 1.182 MB / 1.342 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/1.04, allocations: 0.8083 MB / 1.342 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003753/1.044, allocations: 2.125 MB / 1.345 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/1.046, allocations: 1.036 MB / 1.346 GB, free: 9.812 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/1.048, allocations: 0.8705 MB / 1.346 GB, free: 9.441 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/1.05, allocations: 0.968 MB / 1.347 GB, free: 9.027 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005883/1.051, allocations: 113.7 kB / 1.347 GB, free: 9.027 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/1.054, allocations: 1.211 MB / 1.349 GB, free: 8.609 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/1.055, allocations: 0.5336 MB / 1.349 GB, free: 8.379 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002029/1.057, allocations: 0.7867 MB / 1.35 GB, free: 7.898 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006166/1.063, allocations: 2.434 MB / 1.352 GB, free: 7.051 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.063, allocations: 0.6562 kB / 1.352 GB, free: 7.051 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/1.063, allocations: 0 / 1.352 GB, free: 7.051 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001173/1.063, allocations: 1.094 kB / 1.352 GB, free: 7.051 MB / 1.061 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.005871/1.069, allocations: 1.926 MB / 1.354 GB, free: 5.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.069, allocations: 14.17 kB / 1.354 GB, free: 5.766 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00563/1.075, allocations: 0.6767 MB / 1.355 GB, free: 5.633 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/1.077, allocations: 1.009 MB / 1.356 GB, free: 5.066 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/1.078, allocations: 97.62 kB / 1.356 GB, free: 5.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005576/1.078, allocations: 126.8 kB / 1.356 GB, free: 4.977 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00554/1.084, allocations: 2.212 MB / 1.358 GB, free: 3.738 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.792e-05/1.084, allocations: 17.83 kB / 1.358 GB, free: 3.727 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/1.084, allocations: 57.23 kB / 1.358 GB, free: 3.688 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002808/1.084, allocations: 166.8 kB / 1.358 GB, free: 3.664 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/1.089, allocations: 1.87 MB / 1.36 GB, free: 3.012 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/1.105, allocations: 12.45 MB / 1.372 GB, free: 8.508 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004814/1.11, allocations: 1.872 MB / 1.374 GB, free: 7.977 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009967/1.111, allocations: 0.5549 MB / 1.375 GB, free: 7.793 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/1.111, allocations: 105.2 kB / 1.375 GB, free: 7.691 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.111, allocations: 43.2 kB / 1.375 GB, free: 7.645 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 2.815e-06/1.111, allocations: 3.938 kB / 1.375 GB, free: 7.641 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.007587/1.118, allocations: 3.736 MB / 1.379 GB, free: 5.668 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/1.118, allocations: 62.88 kB / 1.379 GB, free: 5.605 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/1.12, allocations: 0.9196 MB / 1.38 GB, free: 5.223 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/1.12, allocations: 46.2 kB / 1.38 GB, free: 5.176 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007644/1.121, allocations: 0.7445 MB / 1.38 GB, free: 4.578 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005067/1.122, allocations: 405.6 kB / 1.381 GB, free: 4.262 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000575/1.122, allocations: 299 kB / 1.381 GB, free: 4.117 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.122, allocations: 301.1 kB / 1.381 GB, free: 3.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/1.124, allocations: 0.613 MB / 1.382 GB, free: 3.617 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/1.125, allocations: 1.103 MB / 1.383 GB, free: 2.785 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.128, allocations: 1.833 MB / 1.385 GB, free: 1.586 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.128, allocations: 4.125 kB / 1.385 GB, free: 1.586 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003967/1.132, allocations: 2.103 MB / 1.387 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/1.132, allocations: 11.69 kB / 1.387 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/1.132, allocations: 21.83 kB / 1.387 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000935/1.133, allocations: 257.2 kB / 1.387 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.134, allocations: 373.2 kB / 1.387 GB, free: 0.582 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.145, allocations: 11.58 MB / 1.399 GB, free: 5.172 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.147, allocations: 128.4 kB / 1.399 GB, free: 5.145 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/1.147, allocations: 74.14 kB / 1.399 GB, free: 5.129 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.0008877/1.148, allocations: 408 kB / 1.399 GB, free: 4.867 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/1.148, allocations: 135.6 kB / 1.399 GB, free: 4.797 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/1.151, allocations: 1.666 MB / 1.401 GB, free: 4.121 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.151, allocations: 17.78 kB / 1.401 GB, free: 4.117 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.151, allocations: 0 / 1.401 GB, free: 4.117 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/1.151, allocations: 7.5 kB / 1.401 GB, free: 4.117 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/1.157, allocations: 3.291 MB / 1.404 GB, free: 2.633 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.157, allocations: 5.562 kB / 1.404 GB, free: 2.633 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009006/1.158, allocations: 220.5 kB / 1.405 GB, free: 2.617 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008026/1.159, allocations: 251.1 kB / 1.405 GB, free: 2.504 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.875e-05/1.159, allocations: 35.8 kB / 1.405 GB, free: 2.48 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/1.169, allocations: 11.56 MB / 1.416 GB, free: 7.074 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.169, allocations: 10.59 kB / 1.416 GB, free: 7.07 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/1.173, allocations: 1.809 MB / 1.418 GB, free: 6.129 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007317/1.174, allocations: 308.8 kB / 1.418 GB, free: 5.93 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/1.174, allocations: 32.58 kB / 1.418 GB, free: 5.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/1.175, allocations: 92.58 kB / 1.418 GB, free: 5.895 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/1.175, allocations: 100.6 kB / 1.418 GB, free: 5.863 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/1.175, allocations: 35.69 kB / 1.418 GB, free: 5.855 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009394/1.176, allocations: 0.6164 MB / 1.419 GB, free: 5.602 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.176, allocations: 1.094 kB / 1.419 GB, free: 5.602 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001651/1.178, allocations: 393.1 kB / 1.419 GB, free: 5.559 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.0002864/1.178, allocations: 153.6 kB / 1.42 GB, free: 5.43 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003953/1.182, allocations: 2.398 MB / 1.422 GB, free: 4.066 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.182, allocations: 5.438 kB / 1.422 GB, free: 4.062 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002394/1.184, allocations: 1.584 MB / 1.423 GB, free: 2.957 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/1.186, allocations: 366.9 kB / 1.424 GB, free: 2.82 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/1.191, allocations: 2.887 MB / 1.427 GB, free: 1.32 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.193, allocations: 1.326 MB / 1.428 GB, free: 0.543 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/1.193, allocations: 109.8 kB / 1.428 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of SimCode: time 1.463e-06/1.193, allocations: 1.219 kB / 1.428 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of Templates: time 0.07314/1.266, allocations: 59.5 MB / 1.486 GB, free: 12.77 MB / 1.17 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: 17.233546226998442]