Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001748/0.001748, allocations: 113.4 kB / 16.42 MB, free: 6.516 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.001969/0.001969, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6721/0.6735, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.2146/0.8881, allocations: 205.7 MB / 1.289 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.9066, allocations: 13.58 MB / 1.303 GB, free: 2.316 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.9085, allocations: 55.69 kB / 1.303 GB, free: 2.262 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.9112, allocations: 0.9517 MB / 1.304 GB, free: 1.305 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00657/0.9179, allocations: 2.571 MB / 1.306 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.922, allocations: 1.577 MB / 1.308 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004979/0.927, allocations: 3.664 MB / 1.311 GB, free: 9.484 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.9293, allocations: 1.378 MB / 1.313 GB, free: 8.066 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/0.9335, allocations: 2.051 MB / 1.315 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.9357, allocations: 1.141 MB / 1.316 GB, free: 4.867 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004188/0.9361, allocations: 163.9 kB / 1.316 GB, free: 4.707 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004479/0.9406, allocations: 2.401 MB / 1.318 GB, free: 2.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000738/0.9414, allocations: 0.5804 MB / 1.319 GB, free: 1.719 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.9424, allocations: 0.9097 MB / 1.32 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.9469, allocations: 3.284 MB / 1.323 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.9469, allocations: 0 / 1.323 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9469, allocations: 0 / 1.323 GB, free: 13.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.947, allocations: 0 / 1.323 GB, free: 13.51 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003709/0.9507, allocations: 2.19 MB / 1.325 GB, free: 11.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.9507, allocations: 12.03 kB / 1.325 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.9541, allocations: 0.5169 MB / 1.326 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.9569, allocations: 1.405 MB / 1.327 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.957, allocations: 81.92 kB / 1.327 GB, free: 9.188 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.9571, allocations: 119.9 kB / 1.327 GB, free: 9.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.9592, allocations: 1.175 MB / 1.328 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.9593, allocations: 0 / 1.328 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.716e-05/0.9594, allocations: 36 kB / 1.328 GB, free: 7.824 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/0.9594, allocations: 38 kB / 1.328 GB, free: 7.785 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.9614, allocations: 0.9251 MB / 1.329 GB, free: 6.859 MB / 1.061 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.006588/0.968, allocations: 4.972 MB / 1.334 GB, free: 1.566 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.97, allocations: 0.7716 MB / 1.335 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009243/0.9709, allocations: 442.1 kB / 1.335 GB, free: 364 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.9712, allocations: 110 kB / 1.335 GB, free: 236 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.9722, allocations: 482.9 kB / 1.336 GB, free: 15.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=67): time 5.19e-06/0.9722, allocations: 0 / 1.336 GB, free: 15.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=67): time 0.003387/0.9756, allocations: 1.264 MB / 1.337 GB, free: 14.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.9757, allocations: 63.91 kB / 1.337 GB, free: 14.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.9772, allocations: 1.168 MB / 1.338 GB, free: 13.19 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.9773, allocations: 45.7 kB / 1.338 GB, free: 13.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/0.9779, allocations: 0.6651 MB / 1.339 GB, free: 12.47 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.9781, allocations: 232.6 kB / 1.339 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.9784, allocations: 174.5 kB / 1.339 GB, free: 12.06 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9785, allocations: 337.9 kB / 1.34 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000831/0.9794, allocations: 400.6 kB / 1.34 GB, free: 11.33 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/0.9804, allocations: 0.6259 MB / 1.341 GB, free: 10.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.9822, allocations: 1.002 MB / 1.342 GB, free: 9.523 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9822, allocations: 0 / 1.342 GB, free: 9.523 MB / 1.076 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002473/0.9846, allocations: 1.252 MB / 1.343 GB, free: 8.254 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.9847, allocations: 37.73 kB / 1.343 GB, free: 8.211 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.9847, allocations: 4 kB / 1.343 GB, free: 8.207 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/0.9852, allocations: 120.8 kB / 1.343 GB, free: 8.086 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009428/0.9861, allocations: 207.7 kB / 1.343 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007952/0.9869, allocations: 1.216 MB / 1.344 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.988, allocations: 107.3 kB / 1.345 GB, free: 6.512 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.9881, allocations: 47.97 kB / 1.345 GB, free: 6.465 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001204/0.9893, allocations: 0.6542 MB / 1.345 GB, free: 5.809 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000872/0.9902, allocations: 0.5869 MB / 1.346 GB, free: 5.129 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001551/0.9917, allocations: 0.9321 MB / 1.347 GB, free: 4.113 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.277e-06/0.9918, allocations: 0 / 1.347 GB, free: 4.113 MB / 1.076 GB Notification: Performance of matching and sorting (n=103) (initialization_lambda0): time 0.002426/0.9942, allocations: 1.197 MB / 1.348 GB, free: 2.898 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.9942, allocations: 33.7 kB / 1.348 GB, free: 2.859 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.9943, allocations: 4 kB / 1.348 GB, free: 2.855 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.9948, allocations: 157 kB / 1.348 GB, free: 2.699 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/0.9956, allocations: 187.7 kB / 1.348 GB, free: 2.516 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/1, allocations: 3.052 MB / 1.351 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/1.001, allocations: 87.28 kB / 1.351 GB, free: 15.17 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.801e-05/1.001, allocations: 40 kB / 1.351 GB, free: 15.13 MB / 1.092 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 (96): * Single equations (assignments): 92 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0002903/1.002, allocations: 244 kB / 1.352 GB, free: 14.88 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/1.002, allocations: 130.3 kB / 1.352 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/1.004, allocations: 0.9502 MB / 1.353 GB, free: 13.79 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/1.006, allocations: 0.8655 MB / 1.353 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.006, allocations: 0 / 1.353 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/1.006, allocations: 287.2 kB / 1.354 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.007, allocations: 15.94 kB / 1.354 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/1.007, allocations: 46.39 kB / 1.354 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.007, allocations: 48.48 kB / 1.354 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002582/1.01, allocations: 0.9882 MB / 1.355 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002549/1.013, allocations: 1.398 MB / 1.356 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007363/1.013, allocations: 360.3 kB / 1.357 GB, free: 9.715 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00117/1.015, allocations: 0.8031 MB / 1.357 GB, free: 8.91 MB / 1.092 GB Notification: Performance of Backend: time 5.51e-07/1.015, allocations: 0 / 1.357 GB, free: 8.91 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004977/1.019, allocations: 2.021 MB / 1.359 GB, free: 6.852 MB / 1.092 GB Notification: Performance of SimCode: time 0.005581/1.025, allocations: 3.408 MB / 1.363 GB, free: 3.395 MB / 1.092 GB Notification: Performance of Templates: time 0.05422/1.079, allocations: 36.25 MB / 1.398 GB, free: 15.51 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_ClosedLoop_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches