Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01044/0.01044, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 462.6 MB / 0.7363 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 12.42 kB / 0.9027 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3845, allocations: 159.6 MB / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1962/0.5808, allocations: 157.1 MB / 1.212 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006973/0.5878, allocations: 4.48 MB / 1.216 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.5883, allocations: 7.938 kB / 1.216 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.5888, allocations: 103.3 kB / 1.216 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.5902, allocations: 322.6 kB / 1.217 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009724/0.5912, allocations: 234.8 kB / 1.217 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.5925, allocations: 0.7952 MB / 1.218 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006006/0.5931, allocations: 165.5 kB / 1.218 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.5946, allocations: 426.4 kB / 1.218 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.5951, allocations: 199.2 kB / 1.219 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.5951, allocations: 8 kB / 1.219 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.5954, allocations: 67.94 kB / 1.219 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.5955, allocations: 75.73 kB / 1.219 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.5957, allocations: 141.1 kB / 1.219 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.5962, allocations: 287 kB / 1.219 GB, free: 88 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5962, allocations: 0 / 1.219 GB, free: 88 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5962, allocations: 0 / 1.219 GB, free: 88 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.5962, allocations: 0 / 1.219 GB, free: 88 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001074/0.5973, allocations: 498.4 kB / 1.22 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5974, allocations: 8.031 kB / 1.22 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.5974, allocations: 39.56 kB / 1.22 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.5978, allocations: 271.4 kB / 1.22 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.5979, allocations: 15.98 kB / 1.22 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.5979, allocations: 20 kB / 1.22 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.5984, allocations: 273.6 kB / 1.22 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5984, allocations: 3.938 kB / 1.22 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.5984, allocations: 11.94 kB / 1.22 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5984, allocations: 4 kB / 1.22 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.5988, allocations: 163.8 kB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.6004, allocations: 1.371 MB / 1.222 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.6008, allocations: 187.6 kB / 1.222 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.601, allocations: 105 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/0.6014, allocations: 133 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6014, allocations: 42.5 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.6014, allocations: 0 / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0007038/0.6021, allocations: 221.8 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.6023, allocations: 187.9 kB / 1.223 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.6026, allocations: 287 kB / 1.223 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.6026, allocations: 29.7 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.6027, allocations: 143.9 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.6028, allocations: 43.45 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.6028, allocations: 21.7 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.603, allocations: 334.8 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.6031, allocations: 51.95 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.6034, allocations: 123.6 kB / 1.224 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.6037, allocations: 170.7 kB / 1.224 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6037, allocations: 0 / 1.224 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004178/0.6042, allocations: 197.5 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6042, allocations: 7.938 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6042, allocations: 15.91 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6042, allocations: 64 / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.6045, allocations: 35.98 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6045, allocations: 8.219 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.6047, allocations: 31.67 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.6047, allocations: 12 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001401/0.6049, allocations: 141.8 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.605, allocations: 31.64 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.6054, allocations: 139 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6054, allocations: 4 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.6054, allocations: 4 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6054, allocations: 3.938 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009173/0.6063, allocations: 0.7691 MB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6064, allocations: 0 / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.6065, allocations: 23.98 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.6065, allocations: 3.938 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6065, allocations: 4 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6065, allocations: 7.938 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6066, allocations: 8.141 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.6071, allocations: 355.3 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.6072, allocations: 112.8 kB / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.6073, allocations: 0 / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.6074, allocations: 20.05 kB / 1.226 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.6075, allocations: 15.92 kB / 1.226 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6075, allocations: 4 kB / 1.226 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002108/0.6077, allocations: 213.9 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6077, allocations: 0 / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003582/0.6081, allocations: 48 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004753/0.6086, allocations: 150 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.609, allocations: 128.2 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.609, allocations: 4.062 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.6092, allocations: 63.89 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008252/0.61, allocations: 129 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.611, allocations: 0.5599 MB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.6114, allocations: 0.7638 MB / 1.228 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003016/0.6117, allocations: 58.5 kB / 1.228 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.6118, allocations: 19.44 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.6118, allocations: 3.938 kB / 1.228 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of Templates: time 0.009974/0.6218, allocations: 3.987 MB / 1.232 GB, free: 2.742 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches