Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 108.6 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6846, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.2006/0.8853, allocations: 206.1 MB / 1.41 GB, free: 14.75 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01967/0.905, allocations: 15.36 MB / 1.425 GB, free: 15.35 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.9068, allocations: 55.69 kB / 1.425 GB, free: 15.29 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004244/0.9111, allocations: 1.762 MB / 1.426 GB, free: 13.52 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006091/0.9172, allocations: 2.719 MB / 1.429 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.9208, allocations: 1.614 MB / 1.431 GB, free: 9.188 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01211/0.9329, allocations: 9.169 MB / 1.44 GB, free: 15.99 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.9352, allocations: 1.422 MB / 1.441 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004321/0.9396, allocations: 2.125 MB / 1.443 GB, free: 12.4 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.9416, allocations: 1.231 MB / 1.444 GB, free: 11.17 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.9419, allocations: 179.9 kB / 1.444 GB, free: 11 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004555/0.9465, allocations: 2.733 MB / 1.447 GB, free: 8.258 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006956/0.9472, allocations: 0.7323 MB / 1.448 GB, free: 7.523 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.9483, allocations: 1.085 MB / 1.449 GB, free: 6.434 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005324/0.9537, allocations: 3.922 MB / 1.453 GB, free: 2.5 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9537, allocations: 0 / 1.453 GB, free: 2.5 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9537, allocations: 0 / 1.453 GB, free: 2.5 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.372e-05/0.9537, allocations: 0 / 1.453 GB, free: 2.5 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004299/0.958, allocations: 2.562 MB / 1.455 GB, free: 15.86 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.9581, allocations: 12.03 kB / 1.455 GB, free: 15.85 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/0.9624, allocations: 0.6179 MB / 1.456 GB, free: 15.23 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.9669, allocations: 2.214 MB / 1.458 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.738e-05/0.9669, allocations: 86 kB / 1.458 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.9671, allocations: 107.9 kB / 1.458 GB, free: 12.77 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.9695, allocations: 1.296 MB / 1.459 GB, free: 11.44 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.9695, allocations: 3.938 kB / 1.459 GB, free: 11.44 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.9697, allocations: 39.94 kB / 1.46 GB, free: 11.4 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.9697, allocations: 38 kB / 1.46 GB, free: 11.36 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.972, allocations: 1.019 MB / 1.461 GB, free: 10.34 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007116/0.9791, allocations: 5.547 MB / 1.466 GB, free: 4.465 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.9815, allocations: 0.8998 MB / 1.467 GB, free: 3.551 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.9826, allocations: 495.8 kB / 1.467 GB, free: 3.066 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.9828, allocations: 106.1 kB / 1.467 GB, free: 2.945 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.9839, allocations: 0.5847 MB / 1.468 GB, free: 2.348 MB / 1.186 GB Notification: Performance of pre-optimization done (n=68): time 3.056e-06/0.984, allocations: 0 / 1.468 GB, free: 2.348 MB / 1.186 GB Notification: Performance of matching and sorting (n=68): time 0.003845/0.9878, allocations: 1.463 MB / 1.469 GB, free: 0.8555 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.9879, allocations: 59.97 kB / 1.469 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.99, allocations: 1.717 MB / 1.471 GB, free: 15.07 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/0.9902, allocations: 45.7 kB / 1.471 GB, free: 15.02 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006242/0.9908, allocations: 0.7759 MB / 1.472 GB, free: 14.23 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.991, allocations: 244.5 kB / 1.472 GB, free: 13.99 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/0.9914, allocations: 294.5 kB / 1.472 GB, free: 13.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9916, allocations: 361.9 kB / 1.473 GB, free: 13.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.9929, allocations: 0.7718 MB / 1.474 GB, free: 12.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.9944, allocations: 1.034 MB / 1.475 GB, free: 11.43 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/0.997, allocations: 1.706 MB / 1.476 GB, free: 9.641 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.997, allocations: 0 / 1.476 GB, free: 9.641 MB / 1.201 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003501/1, allocations: 2.128 MB / 1.478 GB, free: 7.492 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/1.001, allocations: 33.7 kB / 1.478 GB, free: 7.453 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.001, allocations: 8 kB / 1.478 GB, free: 7.445 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004825/1.001, allocations: 160.7 kB / 1.478 GB, free: 7.285 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/1.002, allocations: 267.9 kB / 1.479 GB, free: 7.023 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007876/1.003, allocations: 1.232 MB / 1.48 GB, free: 5.742 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.004, allocations: 146.7 kB / 1.48 GB, free: 5.598 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.005, allocations: 63.97 kB / 1.48 GB, free: 5.535 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001736/1.006, allocations: 1.073 MB / 1.481 GB, free: 4.457 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00131/1.008, allocations: 0.9326 MB / 1.482 GB, free: 3.43 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002268/1.01, allocations: 1.499 MB / 1.484 GB, free: 1.844 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.642e-06/1.01, allocations: 4 kB / 1.484 GB, free: 1.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.003412/1.013, allocations: 1.944 MB / 1.485 GB, free: 15.88 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/1.013, allocations: 41.64 kB / 1.486 GB, free: 15.83 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/1.013, allocations: 4 kB / 1.486 GB, free: 15.83 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/1.014, allocations: 180.9 kB / 1.486 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/1.015, allocations: 243.7 kB / 1.486 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004714/1.02, allocations: 3.384 MB / 1.489 GB, free: 11.81 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.021, allocations: 119.8 kB / 1.489 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-05/1.021, allocations: 55.98 kB / 1.489 GB, free: 11.64 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003165/1.022, allocations: 251.9 kB / 1.49 GB, free: 11.39 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/1.022, allocations: 165.8 kB / 1.49 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/1.024, allocations: 1.114 MB / 1.491 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/1.026, allocations: 0.9748 MB / 1.492 GB, free: 9.082 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.026, allocations: 4 kB / 1.492 GB, free: 9.078 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005256/1.027, allocations: 338.6 kB / 1.492 GB, free: 8.727 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/1.027, allocations: 16 kB / 1.492 GB, free: 8.711 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/1.028, allocations: 51.94 kB / 1.492 GB, free: 8.66 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.028, allocations: 56.48 kB / 1.492 GB, free: 8.605 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002911/1.031, allocations: 1.101 MB / 1.493 GB, free: 7.492 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002999/1.034, allocations: 1.636 MB / 1.495 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008774/1.035, allocations: 412.2 kB / 1.495 GB, free: 5.438 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001644/1.037, allocations: 1.158 MB / 1.496 GB, free: 4.289 MB / 1.217 GB Notification: Performance of Backend: time 3.2e-07/1.037, allocations: 0 / 1.496 GB, free: 4.289 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006156/1.043, allocations: 3.036 MB / 1.499 GB, free: 1.219 MB / 1.217 GB Notification: Performance of SimCode: time 0.006414/1.049, allocations: 4.191 MB / 1.504 GB, free: 13 MB / 1.232 GB Notification: Performance of Templates: time 0.06727/1.117, allocations: 46.45 MB / 1.549 GB, free: 14.96 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_ClosedLoop_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.ClosedLoop_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches