Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002802/0.0002802, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0002411/0.0002411, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1147/0.1147, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 0.3594/0.3594, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,startTime=0,stopTime=315710,tolerance=1e-06,numberOfIntervals=126789,outputFormat="mat",variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,startTime=0,stopTime=315710,tolerance=1e-06,numberOfIntervals=126789,outputFormat="mat",variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/1.999e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.006195/0.006215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005971/0.01219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.01261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.0132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001172/0.01437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.01557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001249/0.01682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0005273/0.01734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.04341/0.06075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007999/0.06155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.06177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.06224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.06252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.06286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001531/0.06439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001341/0.06453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.354e-06/0.06453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.163e-05/0.06454, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002164/0.0667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001274/0.06683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.06711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.06835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.06845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.06859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/0.06953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.06955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.06962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.06964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.07224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.07287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.07305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.07308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005063/0.07359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=85): time 8.647e-06/0.07359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=85): time 0.0007522/0.07435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.0744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.07512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000155/0.07528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.07551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.07567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.07592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.789e-05/0.07595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.07617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.0765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.07695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.07696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=122) (initialization): time 0.0008099/0.07777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.07783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.07785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.07787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.07826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-05/0.07829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.07865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.07874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003195/0.07906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003027/0.07936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004179/0.07978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.037e-06/0.07979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.0007562/0.08055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.08061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.08062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.08064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.08101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.08103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.0814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.08148, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 69 (timSerRes.timeConverted,$PRE.timSerRes.timeConverted,timSerInp.timeConverted,$PRE.timSerInp.timeConverted,csvWriter.str,$PRE.csvWriter.str,$PRE.TOut_F.nextTimeEvent,$whenCondition10,$PRE.TSupSetpoint_F.nextTimeEvent,$whenCondition9,$PRE.coolingValveSignal.nextTimeEvent,$whenCondition8,$PRE.fanFeedback.nextTimeEvent,$whenCondition7,$PRE.fanStatus.nextTimeEvent,$whenCondition6,$PRE.TSupply_F.nextTimeEvent,$whenCondition5,timSerInp.sampleTrigger,timSerInp.tActivateLast,$PRE.timSerInp.tActivateLast,timSerInp.active,timSerRes.sampleTrigger,timSerRes.tActivateLast,$PRE.timSerRes.tActivateLast,timSerRes.active,correlation.sampleTrigger,correlation.tActivateLast,$PRE.correlation.tActivateLast,correlation.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition12,coolingValveSignal.nextTimeEventScaled,$PRE.coolingValveSignal.nextTimeEventScaled,coolingValveSignal.nextTimeEvent,greThr.y,cooValSta.cha.u,$PRE.cooValSta.cha.u,cooValSta.andOutAirFanFee.y,cooValSta.uFanFeeThr.y,$PRE.cooValSta.uFanFeeThr.y,cooValSta.TOutThr.y,$PRE.cooValSta.TOutThr.y,cooValSta.limPI.trigger,TSupply_F.nextTimeEventScaled,$PRE.TSupply_F.nextTimeEventScaled,TSupply_F.nextTimeEvent,fanStatus.nextTimeEventScaled,$PRE.fanStatus.nextTimeEventScaled,fanStatus.nextTimeEvent,fanFeedback.nextTimeEventScaled,$PRE.fanFeedback.nextTimeEventScaled,fanFeedback.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,$PRE.TSupSetpoint_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TOut_F.nextTimeEventScaled,$PRE.TOut_F.nextTimeEventScaled,TOut_F.nextTimeEvent,$whenCondition11,csvWriter.sampleTrigger,$whenCondition1,cooValSta.limPI.cheYMinMax.y,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 4 * 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.0003729/0.08186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007628/0.08276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.08277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.08279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.0828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.08435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.08436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.0846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.08461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.08469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.0847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.08471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.08553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.08589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.08618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.08644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.08665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.859e-05/0.08674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003797/0.08712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.017e-05/0.08715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001266/0.08841, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooValSta.limPI.I.y) * Number of discrete variables: 45 (cooValSta.limPI.trigger,correlation.sampleTrigger,timSerRes.sampleTrigger,timSerInp.sampleTrigger,plotConfiguration.active,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TOut_F.nextTimeEvent,TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,coolingValveSignal.nextTimeEvent,coolingValveSignal.nextTimeEventScaled,fanFeedback.nextTimeEvent,fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,cooValSta.TOutThr.y,cooValSta.uFanFeeThr.y,cooValSta.andOutAirFanFee.y,cooValSta.cha.u,greThr.y,csvWriter.str,csvWriter.sampleTrigger,plotConfiguration.tActivateLast,correlation.active,correlation.tActivateLast,timSerRes.active,timSerRes.tActivateLast,timSerRes.timeConverted,timSerInp.active,timSerInp.tActivateLast,timSerInp.timeConverted) * Number of discrete states: 17 (TOut_F.nextTimeEvent,TSupSetpoint_F.nextTimeEvent,coolingValveSignal.nextTimeEvent,fanFeedback.nextTimeEvent,fanStatus.nextTimeEvent,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,fanStatus.nextTimeEventScaled,fanFeedback.nextTimeEventScaled,cooValSta.uFanFeeThr.y,coolingValveSignal.nextTimeEventScaled,TSupSetpoint_F.nextTimeEventScaled,TOut_F.nextTimeEventScaled,cooValSta.TOutThr.y,cooValSta.cha.u,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009765/0.08939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001124/0.09051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.09051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.0908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.09193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.09391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.09411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005741/0.09468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008561/0.09554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.505e-05/0.0956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00643/0.102, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 537] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.311160585843027]