Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.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.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOne.y|onTwo.y|chiBypCon.bypValCon.u_s|chiBypCon.bypValCon.u_m|chiBypCon.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 109.5 kB / 16.42 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.00134/0.001341, allocations: 189.5 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.3/2.3, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7963, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.00412/0.8005, allocations: 2.997 MB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.8031, allocations: 1.51 MB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.8035, allocations: 10.72 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.8046, allocations: 314.8 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006008/0.8052, allocations: 245.7 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009984/0.8062, allocations: 407.4 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007442/0.8069, allocations: 0.6597 MB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.8074, allocations: 273.4 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.8078, allocations: 257.5 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.8081, allocations: 261.9 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.8082, allocations: 63.48 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.8085, allocations: 116.1 kB / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.8087, allocations: 151.5 kB / 1.096 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.8089, allocations: 260.2 kB / 1.096 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.81, allocations: 0.7786 MB / 1.097 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.81, allocations: 0.7969 kB / 1.097 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8101, allocations: 0 / 1.097 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.8101, allocations: 0 / 1.097 GB, free: 0.5117 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001643/0.8117, allocations: 0.9117 MB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.8118, allocations: 8.812 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.8119, allocations: 63.06 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006887/0.8126, allocations: 451.2 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.8127, allocations: 28.53 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.8128, allocations: 39.38 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007757/0.8135, allocations: 388 kB / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.8136, allocations: 0 / 1.099 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.8136, allocations: 24.09 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.8136, allocations: 8.594 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.8143, allocations: 285.8 kB / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.8164, allocations: 1.264 MB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.8175, allocations: 491.1 kB / 1.101 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.8179, allocations: 166.5 kB / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.8179, allocations: 3.719 kB / 1.101 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004699/0.8184, allocations: 215.6 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.8184, allocations: 5.031 kB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.00118/0.8196, allocations: 489.7 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.8197, allocations: 133.9 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.8204, allocations: 0.5064 MB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.8205, allocations: 32.48 kB / 1.102 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.8207, allocations: 243.4 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/0.8208, allocations: 109.1 kB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.8209, allocations: 70.14 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.8211, allocations: 359.4 kB / 1.103 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.8214, allocations: 125.5 kB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.8218, allocations: 216.1 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.8224, allocations: 286.7 kB / 1.103 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8225, allocations: 1.188 kB / 1.103 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008527/0.8233, allocations: 383.1 kB / 1.104 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8233, allocations: 5.344 kB / 1.104 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.8234, allocations: 5.312 kB / 1.104 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.8234, allocations: 6.094 kB / 1.104 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.8237, allocations: 68.16 kB / 1.104 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.8237, allocations: 7.312 kB / 1.104 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.824, allocations: 49.92 kB / 1.104 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.824, allocations: 8.828 kB / 1.104 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003902/0.8244, allocations: 264.8 kB / 1.104 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002846/0.8247, allocations: 196.6 kB / 1.104 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004548/0.8251, allocations: 255.7 kB / 1.105 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.8252, allocations: 5.469 kB / 1.105 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007331/0.8259, allocations: 352.2 kB / 1.105 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8259, allocations: 5.516 kB / 1.105 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8259, allocations: 5.25 kB / 1.105 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.8259, allocations: 2.812 kB / 1.105 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.8262, allocations: 63.88 kB / 1.105 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8262, allocations: 7.172 kB / 1.105 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.8265, allocations: 47.8 kB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.8265, allocations: 8.422 kB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.onOne.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.onTwo.combiTimeTable.nextTimeEvent,$whenCondition1,onTwo.combiTimeTable.nextTimeEventScaled,$PRE.onTwo.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,$PRE.onOne.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEvent,chiBypCon.numChiOn.y,chiBypCon.intGreThr.y,chiBypCon.booToInt[2].y,chiBypCon.booToInt[1].y,chiBypCon.chiOn[2],chiBypCon.chiOn[1],$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.8267, allocations: 208.9 kB / 1.105 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.8269, allocations: 45.78 kB / 1.105 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.827, allocations: 58.48 kB / 1.105 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.827, allocations: 3.281 kB / 1.105 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.827, allocations: 0 / 1.105 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.8272, allocations: 127.7 kB / 1.105 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/0.8273, allocations: 16.28 kB / 1.105 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.8275, allocations: 22.8 kB / 1.105 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.8276, allocations: 24.25 kB / 1.106 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009594/0.8286, allocations: 451.6 kB / 1.106 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001239/0.8298, allocations: 0.7205 MB / 1.107 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003192/0.8302, allocations: 158.6 kB / 1.107 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004871/0.8307, allocations: 369 kB / 1.107 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of Backend: time 3.71e-07/0.8307, allocations: 0 / 1.107 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.8328, allocations: 0.7598 MB / 1.108 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001728/0.8346, allocations: 1.264 MB / 1.109 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of Templates: time 0.01613/0.8507, allocations: 7.46 MB / 1.116 GB, free: 8.355 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.sim & ./Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_ChilledWaterBypass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChilledWaterBypass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches