Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.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.0002846/0.0002846, 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.0002787/0.0002787, 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.1847/0.1847, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 0.2811/0.2811, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.BaseClasses.Validation.CoolingCoilValve,startTime=0,stopTime=1800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,startTime=0,stopTime=1800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.764e-05/3.988e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.008724/0.008764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006349/0.01511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.01648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000681/0.01716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00115/0.01831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.02024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001743/0.02198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.02312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.02489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.02542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.02557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.02577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003395/0.02611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.02653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001766/0.0283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001625/0.02846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.711e-06/0.02847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.614e-05/0.02848, 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: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.002165/0.03065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001252/0.03077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.03104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.03236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.03254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.0327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.03394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.03398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.03408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.03412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.03462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.03858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.03907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.03925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.0393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.03971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=80): time 7.764e-06/0.03972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=80): time 0.0006905/0.04041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.04046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.04118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.0413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.04168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.04184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.04213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 6.64e-05/0.0422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.04241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.04274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.04325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.04327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=152) (initialization): time 0.0009778/0.04425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.0443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.04432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/0.04436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.04491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/0.04495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.04538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/0.04547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003214/0.04579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003033/0.04609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004477/0.04654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.257e-05/0.04655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.0008438/0.04739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.04744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.04745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.04748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.04795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.582e-05/0.04798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.04839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.04846, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition4,$whenCondition5,cooVal.limPI.cheYMinMax.y,cooVal1.limPI.cheYMinMax.y,cooVal2.limPI.cheYMinMax.y,cooVal3.limPI.cheYMinMax.y,cooVal1.cha.u,$PRE.cooVal1.cha.u,cooVal1.uFanFeeThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.TOutThr.y,cooVal1.limPI.trigger,$whenCondition1,uSupFan1.y,cooVal2.cha.u,$PRE.cooVal2.cha.u,cooVal2.uFanFeeThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.TOutThr.y,cooVal2.limPI.trigger,$whenCondition2,uSupFan2.y,cooVal3.cha.u,$PRE.cooVal3.cha.u,cooVal3.uFanFeeThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.TOutThr.y,cooVal3.limPI.trigger,$whenCondition3,uSupFan3.y,uSupFan.y,$PRE.uSupFan.y,cooVal.cha.u,$PRE.cooVal.cha.u,cooVal.andOutAirFanFee.y,cooVal.uFanFeeThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.TOutThr.y,$PRE.cooVal.TOutThr.y,cooVal.limPI.trigger,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 1 * 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.0004235/0.04889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.04901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.04974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.04975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.04976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.04977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.05135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.05136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.05172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.05173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.05178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.05179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.0518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.05255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.0527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/0.05298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.05334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.05347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.05353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003333/0.05386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.989e-05/0.05389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001689/0.05558, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (cooVal1.limPI.I.y,cooVal2.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 24 (cooVal1.limPI.trigger,$whenCondition1,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal2.limPI.trigger,$whenCondition2,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.andOutAirFanFee.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003924/0.05597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001185/0.05716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.037e-05/0.05719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.0574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.05901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.06142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.06166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004594/0.06212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006796/0.0628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 9.194e-05/0.0629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0033/0.0662, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_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: 1.3559833224862814]