Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001634/0.001634, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.334/1.334, 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.472/2.472, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.38 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6857/0.9891, allocations: 179.4 MB / 1.202 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009604/0.9987, allocations: 7.841 MB / 1.21 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007355/0.9995, allocations: 18.78 kB / 1.21 GB, free: 13.49 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007961/1, allocations: 240.1 kB / 1.21 GB, free: 13.28 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003558/1.004, allocations: 1.224 MB / 1.211 GB, free: 12.35 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/1.006, allocations: 0.726 MB / 1.212 GB, free: 11.81 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001382/1.007, allocations: 1.082 MB / 1.213 GB, free: 11.19 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/1.008, allocations: 418.4 kB / 1.213 GB, free: 10.94 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/1.01, allocations: 0.8128 MB / 1.214 GB, free: 10.46 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/1.011, allocations: 442.3 kB / 1.214 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/1.011, allocations: 41.66 kB / 1.214 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/1.013, allocations: 0.9478 MB / 1.215 GB, free: 9.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/1.013, allocations: 159.2 kB / 1.215 GB, free: 9.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/1.013, allocations: 249.5 kB / 1.216 GB, free: 9.414 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/1.014, allocations: 0.9332 MB / 1.217 GB, free: 8.844 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.014, allocations: 0 / 1.217 GB, free: 8.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/1.014, allocations: 0 / 1.217 GB, free: 8.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.014, allocations: 0 / 1.217 GB, free: 8.844 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001169/1.016, allocations: 0.8112 MB / 1.217 GB, free: 8.152 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/1.016, allocations: 10.22 kB / 1.217 GB, free: 8.152 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/1.017, allocations: 146.3 kB / 1.218 GB, free: 8.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/1.017, allocations: 410.1 kB / 1.218 GB, free: 7.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/1.017, allocations: 31.66 kB / 1.218 GB, free: 7.719 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/1.017, allocations: 37.03 kB / 1.218 GB, free: 7.707 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/1.018, allocations: 444 kB / 1.218 GB, free: 7.418 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.018, allocations: 3.938 kB / 1.218 GB, free: 7.414 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/1.018, allocations: 16.88 kB / 1.218 GB, free: 7.402 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/1.018, allocations: 11.91 kB / 1.219 GB, free: 7.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/1.019, allocations: 317.9 kB / 1.219 GB, free: 7.25 MB / 0.92 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.00214/1.021, allocations: 2.009 MB / 1.221 GB, free: 5.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/1.021, allocations: 237.4 kB / 1.221 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/1.021, allocations: 158.5 kB / 1.221 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005543/1.022, allocations: 300.6 kB / 1.221 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.022, allocations: 45.3 kB / 1.221 GB, free: 4.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/1.022, allocations: 0 / 1.221 GB, free: 4.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=24): time 0.0009777/1.023, allocations: 446.5 kB / 1.222 GB, free: 4.621 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/1.023, allocations: 54.28 kB / 1.222 GB, free: 4.559 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/1.023, allocations: 401.7 kB / 1.222 GB, free: 4.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/1.023, allocations: 32.11 kB / 1.222 GB, free: 4.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/1.024, allocations: 231.2 kB / 1.223 GB, free: 4.062 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/1.024, allocations: 79.09 kB / 1.223 GB, free: 3.996 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/1.024, allocations: 60.42 kB / 1.223 GB, free: 3.953 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.024, allocations: 352.6 kB / 1.223 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/1.024, allocations: 113.5 kB / 1.223 GB, free: 3.555 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/1.025, allocations: 185.1 kB / 1.223 GB, free: 3.422 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/1.025, allocations: 308 kB / 1.224 GB, free: 3.227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.025, allocations: 0 / 1.224 GB, free: 3.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006024/1.026, allocations: 368.4 kB / 1.224 GB, free: 2.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.026, allocations: 7.984 kB / 1.224 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.026, allocations: 8 kB / 1.224 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/1.026, allocations: 3.938 kB / 1.224 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/1.026, allocations: 59.91 kB / 1.224 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.026, allocations: 3.938 kB / 1.224 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/1.026, allocations: 45.17 kB / 1.224 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/1.026, allocations: 12 kB / 1.224 GB, free: 2.844 MB / 0.92 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 (31): * Single equations (assignments): 31 * 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.0001777/1.026, allocations: 174.2 kB / 1.224 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/1.027, allocations: 39.53 kB / 1.224 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006929/1.027, allocations: 366.8 kB / 1.225 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/1.027, allocations: 4 kB / 1.225 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.027, allocations: 0 / 1.225 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.027, allocations: 3.984 kB / 1.225 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/1.029, allocations: 0.9409 MB / 1.226 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.029, allocations: 0 / 1.226 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/1.029, allocations: 48.14 kB / 1.226 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/1.029, allocations: 4 kB / 1.226 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/1.029, allocations: 19.92 kB / 1.226 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/1.029, allocations: 7.938 kB / 1.226 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.029, allocations: 0 / 1.226 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/1.03, allocations: 0.6265 MB / 1.226 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/1.03, allocations: 152.5 kB / 1.226 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/1.03, allocations: 8 kB / 1.226 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/1.03, allocations: 16.05 kB / 1.226 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/1.03, allocations: 15.98 kB / 1.226 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/1.031, allocations: 12 kB / 1.226 GB, free: 288 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004122/1.031, allocations: 283.1 kB / 1.227 GB, free: 8 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/1.031, allocations: 0 / 1.227 GB, free: 8 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004985/1.031, allocations: 115.8 kB / 1.227 GB, free: 15.89 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0004196/1.032, allocations: 174.8 kB / 1.227 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000664/1.033, allocations: 283.7 kB / 1.227 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.033, allocations: 0 / 1.227 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002634/1.033, allocations: 160.3 kB / 1.227 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/1.034, allocations: 226 kB / 1.228 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/1.035, allocations: 0.7851 MB / 1.228 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/1.035, allocations: 0.8388 MB / 1.229 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002581/1.036, allocations: 87.42 kB / 1.229 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/1.036, allocations: 35.44 kB / 1.229 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/1.036, allocations: 0 / 1.229 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.01294/1.049, allocations: 7.616 MB / 1.237 GB, free: 5.75 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches