Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_10_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_10_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.001438/0.001438, allocations: 111 kB / 16.42 MB, free: 6.461 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.001582/0.001582, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 64.09 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6908, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.1957/0.8866, allocations: 206.1 MB / 1.369 GB, free: 4.988 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.9068, allocations: 15.38 MB / 1.384 GB, free: 5.566 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.9086, allocations: 55.69 kB / 1.384 GB, free: 5.512 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004574/0.9132, allocations: 1.759 MB / 1.385 GB, free: 3.746 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006174/0.9194, allocations: 2.72 MB / 1.388 GB, free: 1.016 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003794/0.9232, allocations: 1.619 MB / 1.39 GB, free: 15.4 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.9349, allocations: 9.163 MB / 1.399 GB, free: 6.223 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.9371, allocations: 1.418 MB / 1.4 GB, free: 4.766 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/0.9413, allocations: 2.121 MB / 1.402 GB, free: 2.637 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.9436, allocations: 1.242 MB / 1.403 GB, free: 1.395 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004585/0.9441, allocations: 176 kB / 1.403 GB, free: 1.223 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006037/0.9501, allocations: 2.74 MB / 1.406 GB, free: 14.48 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009922/0.9511, allocations: 0.7362 MB / 1.407 GB, free: 13.74 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.9529, allocations: 1.081 MB / 1.408 GB, free: 12.65 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006383/0.9593, allocations: 3.922 MB / 1.412 GB, free: 8.719 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9593, allocations: 0 / 1.412 GB, free: 8.719 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9593, allocations: 0 / 1.412 GB, free: 8.719 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001025/0.9594, allocations: 0 / 1.412 GB, free: 8.719 MB / 1.139 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.005921/0.9654, allocations: 2.566 MB / 1.414 GB, free: 6.082 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.9654, allocations: 8.922 kB / 1.414 GB, free: 6.074 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/0.9695, allocations: 0.6178 MB / 1.415 GB, free: 5.453 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/0.9744, allocations: 2.214 MB / 1.417 GB, free: 3.188 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.9745, allocations: 78 kB / 1.417 GB, free: 3.113 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.9748, allocations: 111.9 kB / 1.417 GB, free: 3.004 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.9773, allocations: 1.292 MB / 1.418 GB, free: 1.672 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.9774, allocations: 3.938 kB / 1.418 GB, free: 1.668 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.9775, allocations: 43.94 kB / 1.418 GB, free: 1.625 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/0.9775, allocations: 38 kB / 1.418 GB, free: 1.59 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.9799, allocations: 1.019 MB / 1.419 GB, free: 0.5703 MB / 1.139 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.007475/0.9874, allocations: 5.532 MB / 1.425 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002361/0.9897, allocations: 0.9044 MB / 1.426 GB, free: 9.793 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.9908, allocations: 498 kB / 1.426 GB, free: 9.305 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.991, allocations: 109.7 kB / 1.426 GB, free: 9.18 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.9921, allocations: 0.5808 MB / 1.427 GB, free: 8.59 MB / 1.154 GB Notification: Performance of pre-optimization done (n=68): time 3.286e-06/0.9921, allocations: 0 / 1.427 GB, free: 8.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=68): time 0.003781/0.9959, allocations: 1.467 MB / 1.428 GB, free: 7.094 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.996, allocations: 63.95 kB / 1.428 GB, free: 7.02 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.9983, allocations: 1.717 MB / 1.43 GB, free: 5.305 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/0.9984, allocations: 49.7 kB / 1.43 GB, free: 5.25 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006374/0.9991, allocations: 0.7681 MB / 1.431 GB, free: 4.473 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.9993, allocations: 244.5 kB / 1.431 GB, free: 4.23 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004378/0.9998, allocations: 294.6 kB / 1.431 GB, free: 3.938 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9999, allocations: 361.9 kB / 1.432 GB, free: 3.578 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/1.001, allocations: 0.7641 MB / 1.432 GB, free: 2.812 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.003, allocations: 1.042 MB / 1.433 GB, free: 1.668 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/1.005, allocations: 1.698 MB / 1.435 GB, free: 15.89 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.005, allocations: 3.938 kB / 1.435 GB, free: 15.88 MB / 1.17 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.00351/1.009, allocations: 2.132 MB / 1.437 GB, free: 13.73 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/1.009, allocations: 33.7 kB / 1.437 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.009, allocations: 8 kB / 1.437 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/1.009, allocations: 152.7 kB / 1.437 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.011, allocations: 276 kB / 1.438 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008045/1.011, allocations: 1.232 MB / 1.439 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.013, allocations: 142.8 kB / 1.439 GB, free: 11.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.013, allocations: 71.97 kB / 1.439 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001689/1.015, allocations: 1.069 MB / 1.44 GB, free: 10.7 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001304/1.016, allocations: 0.9326 MB / 1.441 GB, free: 9.664 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002279/1.018, allocations: 1.503 MB / 1.442 GB, free: 8.082 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.933e-06/1.018, allocations: 4 kB / 1.442 GB, free: 8.078 MB / 1.17 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.003502/1.022, allocations: 1.937 MB / 1.444 GB, free: 6.125 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/1.022, allocations: 41.62 kB / 1.444 GB, free: 6.078 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.022, allocations: 4 kB / 1.444 GB, free: 6.074 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/1.022, allocations: 177 kB / 1.445 GB, free: 5.898 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.024, allocations: 243.7 kB / 1.445 GB, free: 5.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/1.029, allocations: 3.392 MB / 1.448 GB, free: 2.059 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.03, allocations: 123.7 kB / 1.448 GB, free: 1.938 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.03, allocations: 64.03 kB / 1.448 GB, free: 1.875 MB / 1.17 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.0004345/1.031, allocations: 241.5 kB / 1.449 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004529/1.031, allocations: 165.9 kB / 1.449 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/1.034, allocations: 1.114 MB / 1.45 GB, free: 348 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002102/1.036, allocations: 0.9749 MB / 1.451 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.036, allocations: 0 / 1.451 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007707/1.037, allocations: 338.6 kB / 1.451 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/1.037, allocations: 12 kB / 1.451 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.039, allocations: 55.94 kB / 1.451 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.039, allocations: 52.48 kB / 1.451 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00303/1.042, allocations: 1.109 MB / 1.452 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003047/1.045, allocations: 1.632 MB / 1.454 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008717/1.046, allocations: 412.2 kB / 1.454 GB, free: 11.68 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001882/1.048, allocations: 1.158 MB / 1.455 GB, free: 10.54 MB / 1.186 GB Notification: Performance of Backend: time 5.81e-07/1.048, allocations: 0 / 1.455 GB, free: 10.54 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0069/1.054, allocations: 3.045 MB / 1.458 GB, free: 7.457 MB / 1.186 GB Notification: Performance of SimCode: time 0.007509/1.062, allocations: 4.198 MB / 1.462 GB, free: 3.227 MB / 1.186 GB Notification: Performance of Templates: time 0.07155/1.134, allocations: 46.44 MB / 1.508 GB, free: 5.172 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_ClosedLoop_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.ClosedLoop_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches