Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 116.8 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 186.6 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 64.09 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9123/0.9138, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil): time 0.007296/0.9212, allocations: 4.436 MB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1921/1.113, allocations: 157.5 MB / 1.367 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/1.115, allocations: 8 kB / 1.367 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/1.118, allocations: 0.6276 MB / 1.367 GB, free: 10.48 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00324/1.121, allocations: 0.6643 MB / 1.368 GB, free: 9.816 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005739/1.127, allocations: 1.351 MB / 1.369 GB, free: 8.469 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00518/1.132, allocations: 2.969 MB / 1.372 GB, free: 5.496 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/1.133, allocations: 485.7 kB / 1.373 GB, free: 5 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003454/1.137, allocations: 1.117 MB / 1.374 GB, free: 3.891 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/1.139, allocations: 1.16 MB / 1.375 GB, free: 2.727 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/1.14, allocations: 264 kB / 1.375 GB, free: 2.469 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005866/1.146, allocations: 1.755 MB / 1.377 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001765/1.148, allocations: 0.9586 MB / 1.378 GB, free: 15.75 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003403/1.152, allocations: 1.458 MB / 1.379 GB, free: 14.29 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.163, allocations: 6.037 MB / 1.385 GB, free: 8.23 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/1.163, allocations: 0 / 1.385 GB, free: 8.23 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.404e-06/1.163, allocations: 0 / 1.385 GB, free: 8.23 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001732/1.163, allocations: 0 / 1.385 GB, free: 8.23 MB / 1.107 GB 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.01261/1.176, allocations: 3.549 MB / 1.388 GB, free: 4.602 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.176, allocations: 11.97 kB / 1.388 GB, free: 4.59 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02515/1.201, allocations: 2.622 MB / 1.391 GB, free: 1.961 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007279/1.209, allocations: 2.896 MB / 1.394 GB, free: 15 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/1.209, allocations: 186 kB / 1.394 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004447/1.21, allocations: 56 kB / 1.394 GB, free: 14.75 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/1.22, allocations: 3.094 MB / 1.397 GB, free: 11.63 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/1.22, allocations: 3.938 kB / 1.397 GB, free: 11.63 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/1.22, allocations: 27.98 kB / 1.397 GB, free: 11.6 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/1.22, allocations: 8 kB / 1.397 GB, free: 11.59 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01633/1.237, allocations: 4.531 MB / 1.402 GB, free: 7.062 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0319/1.269, allocations: 8.195 MB / 1.41 GB, free: 14.77 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03071/1.299, allocations: 4.896 MB / 1.414 GB, free: 9.867 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01195/1.311, allocations: 2.133 MB / 1.416 GB, free: 7.73 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009529/1.312, allocations: 458 kB / 1.417 GB, free: 7.191 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0143/1.327, allocations: 2.82 MB / 1.42 GB, free: 4.348 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 5.982e-06/1.327, allocations: 0 / 1.42 GB, free: 4.348 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.0715/1.398, allocations: 8.328 MB / 1.428 GB, free: 11.95 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/1.399, allocations: 97.75 kB / 1.428 GB, free: 11.84 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01514/1.414, allocations: 4.653 MB / 1.432 GB, free: 7.176 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0008465/1.415, allocations: 61.69 kB / 1.432 GB, free: 7.109 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002209/1.417, allocations: 1.053 MB / 1.433 GB, free: 6.047 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009159/1.418, allocations: 240.6 kB / 1.434 GB, free: 5.809 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/1.419, allocations: 270.5 kB / 1.434 GB, free: 5.539 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.419, allocations: 341.9 kB / 1.434 GB, free: 5.199 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01174/1.431, allocations: 2.609 MB / 1.437 GB, free: 2.582 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01334/1.444, allocations: 2.624 MB / 1.439 GB, free: 15.95 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/1.461, allocations: 4.051 MB / 1.443 GB, free: 11.86 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.461, allocations: 0 / 1.443 GB, free: 11.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.03791/1.499, allocations: 6.879 MB / 1.45 GB, free: 4.938 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/1.499, allocations: 87.31 kB / 1.45 GB, free: 4.84 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.499, allocations: 7.938 kB / 1.45 GB, free: 4.832 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005081/1.504, allocations: 1.094 MB / 1.451 GB, free: 3.719 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004589/1.509, allocations: 0.5225 MB / 1.452 GB, free: 3.195 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.523, allocations: 10.59 MB / 1.462 GB, free: 7.875 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005624/1.528, allocations: 490.7 kB / 1.463 GB, free: 7.395 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000541/1.529, allocations: 87.83 kB / 1.463 GB, free: 7.309 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01063/1.539, allocations: 3.574 MB / 1.466 GB, free: 3.723 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008739/1.548, allocations: 2.601 MB / 1.469 GB, free: 1.109 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01525/1.563, allocations: 4.031 MB / 1.473 GB, free: 13.05 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.601e-06/1.563, allocations: 0 / 1.473 GB, free: 13.05 MB / 1.201 GB Notification: Performance of matching and sorting (n=115) (initialization_lambda0): time 0.0354/1.599, allocations: 6.7 MB / 1.479 GB, free: 6.305 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001638/1.599, allocations: 87.38 kB / 1.479 GB, free: 6.207 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.599, allocations: 0 / 1.479 GB, free: 6.207 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004098/1.603, allocations: 0.9063 MB / 1.48 GB, free: 5.281 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/1.608, allocations: 0.5225 MB / 1.481 GB, free: 4.758 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/1.618, allocations: 9.139 MB / 1.49 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006196/1.624, allocations: 474.8 kB / 1.49 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005385/1.625, allocations: 83.89 kB / 1.49 GB, free: 10.33 MB / 1.217 GB 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,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],wetCoi.coiCap.stage,$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.001031/1.626, allocations: 289.9 kB / 1.49 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/1.628, allocations: 260.7 kB / 1.491 GB, free: 9.777 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03567/1.663, allocations: 5.924 MB / 1.496 GB, free: 3.828 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/1.663, allocations: 3.984 kB / 1.496 GB, free: 3.824 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.663, allocations: 0 / 1.496 GB, free: 3.824 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003314/1.667, allocations: 0.9346 MB / 1.497 GB, free: 2.867 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/1.668, allocations: 59.97 kB / 1.497 GB, free: 2.809 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006174/1.675, allocations: 439.3 kB / 1.498 GB, free: 2.379 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/1.675, allocations: 72.56 kB / 1.498 GB, free: 2.309 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02481/1.7, allocations: 4.925 MB / 1.503 GB, free: 13.35 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02918/1.729, allocations: 7.383 MB / 1.51 GB, free: 5.934 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008831/1.738, allocations: 2.183 MB / 1.512 GB, free: 3.746 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.007956/1.746, allocations: 3.306 MB / 1.515 GB, free: 452 kB / 1.232 GB Notification: Performance of Backend: time 1.172e-06/1.746, allocations: 0 / 1.515 GB, free: 452 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.03023/1.776, allocations: 8.059 MB / 1.523 GB, free: 8.195 MB / 1.248 GB Notification: Performance of SimCode: time 0.01365/1.79, allocations: 5.795 MB / 1.529 GB, free: 2.34 MB / 1.248 GB Notification: Performance of Templates: time 0.9759/2.766, allocations: 87.16 MB / 1.614 GB, free: 308.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_WetCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.WetCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches