Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0001992/0.0001992, 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.0001695/0.0001695, 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.1339/0.1339, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 0.2297/0.2297, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_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.703e-06/1.703e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.501e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.01223/0.01224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01175/0.02399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.02438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.02492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001128/0.02605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.02722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001239/0.02846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0005142/0.02897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.04239/0.07136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007615/0.07212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.0723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.07278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.07307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.07344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001608/0.07505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001319/0.07518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.114e-06/0.07518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.858e-05/0.0752, 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.002025/0.07723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001332/0.07736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.07761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.0787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/0.0788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.07893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.07982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.07984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.649e-05/0.07992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.07993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.08028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.08251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.08309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.08327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.08332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.08373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=85): time 6.943e-06/0.08374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=85): time 0.0006936/0.08443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.08448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006603/0.08514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000126/0.08527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.08549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.08565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.08588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.283e-05/0.08591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.08613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.08643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.08687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.08688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=122) (initialization): time 0.0007637/0.08765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.0877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.08771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.08773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.0881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.08812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.08847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.08854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002947/0.08884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002902/0.08913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000422/0.08955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.867e-06/0.08956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.0007487/0.09031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.09035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.09036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.09038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.09074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.09077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.09111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.09118, 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.0002968/0.09148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.09161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007188/0.09233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.09234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.09235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.09236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.09381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.09382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.09404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.09405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.0941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.09411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.09412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007817/0.0949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.09517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.09547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.09572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.0959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-05/0.09599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003629/0.09635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.937e-05/0.09638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001204/0.09758, 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.0008624/0.09844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001027/0.09947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.09948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.09976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.1009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.1027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.1029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005294/0.1034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007791/0.1042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.281e-05/0.1042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.006863/0.1111, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 537] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.123338849749416]