Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001242/0.001243, allocations: 185.5 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.17 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.417/2.417, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6923/0.6936, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003891/0.6975, allocations: 3.11 MB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.6993, allocations: 1.114 MB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.6995, allocations: 15.94 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.6998, allocations: 87.06 kB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.7, allocations: 115 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.7006, allocations: 336.4 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.7012, allocations: 0.6363 MB / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.7015, allocations: 245.9 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.7018, allocations: 227 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.702, allocations: 210.8 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.7021, allocations: 56 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.808e-05/0.7022, allocations: 52 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.7022, allocations: 111.6 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.7024, allocations: 238.6 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.703, allocations: 0.6945 MB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.703, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.233e-06/0.703, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.703, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001183/0.7042, allocations: 0.8098 MB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7042, allocations: 12.92 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.7043, allocations: 60.19 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007824/0.7051, allocations: 0.5139 MB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.7051, allocations: 24.97 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.7052, allocations: 28.38 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.7058, allocations: 375.1 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.7058, allocations: 7.922 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.7059, allocations: 12 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.7059, allocations: 8 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.7065, allocations: 250.1 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.7079, allocations: 1.425 MB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.7086, allocations: 274.8 kB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.7089, allocations: 140.8 kB / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.709, allocations: 0 / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.709, allocations: 34.56 kB / 1.178 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.162e-06/0.709, allocations: 0 / 1.178 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.0008601/0.7099, allocations: 368.2 kB / 1.179 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.7099, allocations: 55.41 kB / 1.179 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.7103, allocations: 406 kB / 1.179 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.7103, allocations: 33.7 kB / 1.179 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.7105, allocations: 256.1 kB / 1.179 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.7106, allocations: 86.8 kB / 1.179 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.333e-05/0.7107, allocations: 57.91 kB / 1.179 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7108, allocations: 358.7 kB / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.711, allocations: 96.5 kB / 1.18 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.7113, allocations: 153.4 kB / 1.18 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.7118, allocations: 272.2 kB / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7119, allocations: 0 / 1.18 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006489/0.7125, allocations: 347.6 kB / 1.181 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.7125, allocations: 6.5 kB / 1.181 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7125, allocations: 4 kB / 1.181 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7126, allocations: 4 kB / 1.181 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.7129, allocations: 63.89 kB / 1.181 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7129, allocations: 7.938 kB / 1.181 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.7131, allocations: 40.02 kB / 1.181 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.7131, allocations: 11.94 kB / 1.181 GB, free: 5.809 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001649/0.7133, allocations: 173.7 kB / 1.181 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.7134, allocations: 47.44 kB / 1.181 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.851e-05/0.7135, allocations: 51.97 kB / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7135, allocations: 0 / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7135, allocations: 0 / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.7136, allocations: 136.5 kB / 1.181 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.7137, allocations: 15.94 kB / 1.181 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.7139, allocations: 11.98 kB / 1.181 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.714, allocations: 19.97 kB / 1.181 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007777/0.7147, allocations: 348.7 kB / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009179/0.7157, allocations: 0.5868 MB / 1.182 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002532/0.7159, allocations: 123.9 kB / 1.182 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002769/0.7162, allocations: 283.2 kB / 1.182 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of Backend: time 8.82e-07/0.7162, allocations: 0 / 1.182 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006364/0.7169, allocations: 236.2 kB / 1.183 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001428/0.7183, allocations: 1.217 MB / 1.184 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of Templates: time 0.008508/0.7268, allocations: 4.619 MB / 1.188 GB, free: 13.94 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches