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.0005503/0.0005503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009753/0.001526, 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.0004357/0.0004357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007681/0.001204, 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.2713/0.2713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.05556/0.3269, 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.5689/0.5689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1494/0.7183, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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 -ignoreHideResult -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 -ignoreHideResult -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.126e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.007508/0.00754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005552/0.01309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.01451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.01524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001333/0.01657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.01969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003958/0.02364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.02495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.02692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004729/0.02739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.02754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.02774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.02796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.02825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001328/0.02958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.000153/0.02973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.362e-06/0.02973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.288e-05/0.02975, 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.002724/0.03248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.00017/0.03265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.03295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.03409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.03426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.03441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.03564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.03567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.03581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/0.03586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.03646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/0.04055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.04123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.04139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.04143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003827/0.04181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=80): time 1.238e-05/0.04183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=80): time 0.0005617/0.04239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.04243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.04312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.04323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.04355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.04368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.04394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 5.041e-05/0.04399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.0442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.0445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.04494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.04495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=152) (initialization): time 0.0007539/0.04571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.04574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.04576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.04579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.04622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-05/0.04625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.04654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.04661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002841/0.04689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002779/0.04717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004086/0.04758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.608e-06/0.04759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.0007029/0.04829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.04832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.04833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.04835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.04871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.349e-05/0.04874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.04903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.04909, 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.0004711/0.04957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.04968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.05031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.05032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.05033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.05034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.05167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.05167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.05194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.05209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/0.05211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.05216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.05217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.05217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009212/0.0531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.05332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.05359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.05373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.05377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003461/0.05411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.369e-05/0.05414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001016/0.05515, 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.0004288/0.05558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001302/0.05688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.37e-05/0.05694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.05721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.0583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.0621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.06232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004879/0.06281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.06327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.939e-05/0.06331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00635/0.06966, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve/Buildings_12_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.7277590800076723]