Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.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.0003253/0.0003253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005347/0.0008601, 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.0003588/0.0003588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004377/0.0007965, 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.1021/0.1021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04809/0.1502, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 0.2964/0.2964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1401/0.4365, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") simulate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|wetCoi.Q_flow|TEvaIn.y|wetCoi.TADP|wetCoi.mWat_flow|wetCoi.SHR|wetCoi.EIR",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 8.51e-07/8.51e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.772e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil): time 0.006025/0.006052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.2634/0.2695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0008472/0.2703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001937/0.2722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002154/0.2744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.2771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002441/0.2795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004379/0.2799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.2834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.2846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.2848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.2871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006733/0.2878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0007763/0.2886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003567/0.2921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0003565/0.2925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.567e-06/0.2925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.077e-05/0.2925, 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.004533/0.2971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001636/0.2972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01723/0.3145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.3172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/0.3177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.3204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.3205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.3217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/0.3461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004123/0.3502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.3508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/0.3509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.3521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=79): time 9.528e-06/0.3521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=79): time 0.01186/0.364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.3668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0005388/0.3673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004634/0.3678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.3681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.3691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 7.643e-05/0.3692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/0.3726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.3756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=115) (initialization): time 0.01073/0.3863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.77e-05/0.3864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/0.3993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006023/0.4053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/0.4118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/0.4157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004841/0.4161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002102/0.4182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001187/0.4194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001902/0.4213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.472e-06/0.4213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=115) (initialization_lambda0): time 0.01042/0.4318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.4318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.4429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00553/0.4484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/0.453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004125/0.4572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004631/0.4576, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 33 (speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,onOff.y,wetCoi.shr.on,wetCoi.coiCap.checkBoundsTCon[4],$PRE.wetCoi.coiCap.checkBoundsTCon[4],wetCoi.coiCap.checkBoundsTCon[3],$PRE.wetCoi.coiCap.checkBoundsTCon[3],wetCoi.coiCap.checkBoundsTCon[2],$PRE.wetCoi.coiCap.checkBoundsTCon[2],wetCoi.coiCap.checkBoundsTCon[1],$PRE.wetCoi.coiCap.checkBoundsTCon[1],wetCoi.coiCap.checkBoundsTEva[4],$PRE.wetCoi.coiCap.checkBoundsTEva[4],wetCoi.coiCap.checkBoundsTEva[3],$PRE.wetCoi.coiCap.checkBoundsTEva[3],wetCoi.coiCap.checkBoundsTEva[2],$PRE.wetCoi.coiCap.checkBoundsTEva[2],wetCoi.coiCap.checkBoundsTEva[1],$PRE.wetCoi.coiCap.checkBoundsTEva[1],$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,1), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001252/0.4589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/0.4593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009314/0.4686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.4709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/0.4709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/0.473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.4743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.006097/0.4804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/0.4806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.4821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008878/0.491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/0.4922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.4939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.4942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002896/0.4945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001727/0.4962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.894e-05/0.4963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.004149/0.5004, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,wetCoi.coiCap.checkBoundsTEva[1],wetCoi.coiCap.checkBoundsTEva[2],wetCoi.coiCap.checkBoundsTEva[3],wetCoi.coiCap.checkBoundsTEva[4],wetCoi.coiCap.checkBoundsTCon[1],wetCoi.coiCap.checkBoundsTCon[2],wetCoi.coiCap.checkBoundsTCon[3],wetCoi.coiCap.checkBoundsTCon[4],wetCoi.shr.on,onOff.y,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 14 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,wetCoi.coiCap.checkBoundsTEva[1],wetCoi.coiCap.checkBoundsTCon[1],wetCoi.coiCap.checkBoundsTEva[2],wetCoi.coiCap.checkBoundsTCon[2],wetCoi.coiCap.checkBoundsTEva[3],wetCoi.coiCap.checkBoundsTCon[3],wetCoi.coiCap.checkBoundsTEva[4],wetCoi.coiCap.checkBoundsTCon[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001465/0.5019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.006112/0.508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0001252/0.5081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001118/0.5093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/0.5122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.5253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009693/0.5262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.00284/0.5291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003382/0.5325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 9.88e-05/0.5326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0146/0.5472, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 539] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.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.7419349886476994]