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.001564/0.001564, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001821/0.001821, allocations: 193.4 kB / 17.31 MB, free: 5.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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002589/0.002589, allocations: 66.34 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4196, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.9114/1.331, allocations: 161.4 MB / 1.184 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01086/1.342, allocations: 4.549 MB / 1.189 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005483/1.343, allocations: 10.5 kB / 1.189 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006733/1.343, allocations: 124.6 kB / 1.189 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/1.345, allocations: 333.6 kB / 1.189 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/1.346, allocations: 274.6 kB / 1.189 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001162/1.348, allocations: 0.561 MB / 1.19 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006368/1.348, allocations: 211.2 kB / 1.19 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/1.35, allocations: 454.6 kB / 1.191 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/1.35, allocations: 191.6 kB / 1.191 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/1.35, allocations: 16.53 kB / 1.191 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/1.351, allocations: 83.33 kB / 1.191 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/1.351, allocations: 85.33 kB / 1.191 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002549/1.351, allocations: 122.1 kB / 1.191 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006024/1.352, allocations: 300.6 kB / 1.191 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.352, allocations: 1.469 kB / 1.191 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.774e-06/1.352, allocations: 0 / 1.191 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.316e-05/1.352, allocations: 0 / 1.191 GB, free: 12.91 MB / 0.9044 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.001193/1.353, allocations: 0.5247 MB / 1.192 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.353, allocations: 13.41 kB / 1.192 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.353, allocations: 30.88 kB / 1.192 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/1.354, allocations: 285.7 kB / 1.192 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/1.354, allocations: 15.84 kB / 1.192 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/1.354, allocations: 16.75 kB / 1.192 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/1.355, allocations: 261.3 kB / 1.193 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/1.355, allocations: 1.125 kB / 1.193 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/1.355, allocations: 18.12 kB / 1.193 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/1.355, allocations: 4.594 kB / 1.193 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006251/1.356, allocations: 149.5 kB / 1.193 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/1.357, allocations: 1.365 MB / 1.194 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/1.358, allocations: 186.2 kB / 1.194 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/1.358, allocations: 98.45 kB / 1.194 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/1.358, allocations: 115.3 kB / 1.194 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.358, allocations: 45.08 kB / 1.194 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/1.358, allocations: 0 / 1.194 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0007035/1.359, allocations: 208.1 kB / 1.195 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/1.359, allocations: 194 kB / 1.195 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/1.36, allocations: 285.8 kB / 1.195 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/1.36, allocations: 30.98 kB / 1.195 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.36, allocations: 148.6 kB / 1.195 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/1.36, allocations: 35.67 kB / 1.195 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/1.36, allocations: 47.89 kB / 1.195 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.36, allocations: 328.2 kB / 1.196 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/1.36, allocations: 49.08 kB / 1.196 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/1.36, allocations: 116.7 kB / 1.196 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/1.361, allocations: 159.4 kB / 1.196 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.361, allocations: 0 / 1.196 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003684/1.361, allocations: 185.9 kB / 1.196 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.361, allocations: 9.906 kB / 1.196 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.361, allocations: 7.016 kB / 1.196 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.361, allocations: 6.75 kB / 1.196 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/1.361, allocations: 28.2 kB / 1.196 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/1.361, allocations: 6.688 kB / 1.196 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/1.362, allocations: 26.83 kB / 1.196 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/1.362, allocations: 6.875 kB / 1.196 GB, free: 8.594 MB / 0.9044 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.0002074/1.362, allocations: 142.3 kB / 1.196 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.362, allocations: 28.03 kB / 1.196 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/1.363, allocations: 139.9 kB / 1.197 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.363, allocations: 1.375 kB / 1.197 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.363, allocations: 2.75 kB / 1.197 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.363, allocations: 1.375 kB / 1.197 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.364, allocations: 0.7719 MB / 1.197 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.364, allocations: 1.375 kB / 1.197 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/1.364, allocations: 33.8 kB / 1.197 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.364, allocations: 1.375 kB / 1.197 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/1.364, allocations: 2.75 kB / 1.197 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/1.364, allocations: 2.75 kB / 1.197 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.364, allocations: 5.312 kB / 1.197 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/1.365, allocations: 337.1 kB / 1.198 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/1.365, allocations: 115.9 kB / 1.198 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/1.365, allocations: 1.375 kB / 1.198 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.365, allocations: 9.578 kB / 1.198 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/1.365, allocations: 25.3 kB / 1.198 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/1.365, allocations: 2.75 kB / 1.198 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000285/1.366, allocations: 209.3 kB / 1.198 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.366, allocations: 1.375 kB / 1.198 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005269/1.366, allocations: 56.97 kB / 1.198 GB, free: 7.004 MB / 0.9044 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.0004535/1.367, allocations: 141.8 kB / 1.198 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004519/1.367, allocations: 119.5 kB / 1.198 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.367, allocations: 1.719 kB / 1.198 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/1.367, allocations: 68.95 kB / 1.198 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.368, allocations: 126.6 kB / 1.198 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/1.369, allocations: 492.5 kB / 1.199 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/1.37, allocations: 0.7545 MB / 1.2 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002105/1.37, allocations: 55.69 kB / 1.2 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/1.37, allocations: 24.69 kB / 1.2 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of SimCode: time 6.41e-07/1.37, allocations: 2.75 kB / 1.2 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of Templates: time 0.01227/1.382, allocations: 4.224 MB / 1.204 GB, free: 3.535 MB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches