Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001643/0.001643, allocations: 106 kB / 15.99 MB, free: 6.355 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.001963/0.001963, allocations: 196.7 kB / 16.91 MB, free: 6.199 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.432/2.432, allocations: 437 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 68.47 kB / 0.8694 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7455/1.063, allocations: 177 MB / 1.19 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009583/1.073, allocations: 7.769 MB / 1.198 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007645/1.074, allocations: 20.31 kB / 1.198 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007535/1.075, allocations: 205.6 kB / 1.198 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/1.078, allocations: 1.144 MB / 1.199 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/1.08, allocations: 0.6713 MB / 1.2 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001567/1.081, allocations: 1.084 MB / 1.201 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005947/1.082, allocations: 395.8 kB / 1.201 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/1.085, allocations: 0.8306 MB / 1.202 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007052/1.086, allocations: 462.7 kB / 1.203 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/1.086, allocations: 37.59 kB / 1.203 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/1.087, allocations: 0.9808 MB / 1.204 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/1.088, allocations: 159.3 kB / 1.204 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/1.088, allocations: 249.3 kB / 1.204 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009107/1.089, allocations: 0.661 MB / 1.205 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.089, allocations: 0 / 1.205 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.322e-06/1.089, allocations: 3.938 kB / 1.205 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.089, allocations: 0 / 1.205 GB, free: 6.047 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001112/1.09, allocations: 0.8029 MB / 1.205 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.09, allocations: 19.25 kB / 1.205 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/1.091, allocations: 147.2 kB / 1.206 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/1.091, allocations: 388.5 kB / 1.206 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/1.091, allocations: 32.09 kB / 1.206 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/1.091, allocations: 37.22 kB / 1.206 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/1.092, allocations: 447.8 kB / 1.206 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.092, allocations: 0 / 1.206 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/1.092, allocations: 20.44 kB / 1.206 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.092, allocations: 14.28 kB / 1.206 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/1.093, allocations: 316.7 kB / 1.207 GB, free: 4.457 MB / 0.9044 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.002015/1.095, allocations: 2.01 MB / 1.209 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/1.095, allocations: 243.7 kB / 1.209 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/1.095, allocations: 147.2 kB / 1.209 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005825/1.096, allocations: 308.6 kB / 1.209 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.096, allocations: 32.97 kB / 1.209 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/1.096, allocations: 0 / 1.209 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.0009819/1.097, allocations: 453.7 kB / 1.21 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.097, allocations: 62.31 kB / 1.21 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/1.098, allocations: 392.8 kB / 1.21 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/1.098, allocations: 32.48 kB / 1.21 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/1.098, allocations: 235 kB / 1.211 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/1.098, allocations: 80.59 kB / 1.211 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/1.098, allocations: 55.08 kB / 1.211 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.098, allocations: 356.6 kB / 1.211 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/1.098, allocations: 106.9 kB / 1.211 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/1.099, allocations: 178.7 kB / 1.211 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/1.099, allocations: 310.9 kB / 1.212 GB, free: 444 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.099, allocations: 4 kB / 1.212 GB, free: 440 kB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005965/1.1, allocations: 366 kB / 1.212 GB, free: 244 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.1, allocations: 10.09 kB / 1.212 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.1, allocations: 0 / 1.212 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.1, allocations: 4.953 kB / 1.212 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/1.1, allocations: 67.33 kB / 1.212 GB, free: 220 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.1, allocations: 5.062 kB / 1.212 GB, free: 220 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/1.1, allocations: 51.72 kB / 1.212 GB, free: 188 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/1.1, allocations: 10.09 kB / 1.212 GB, free: 188 kB / 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 (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.0001904/1.101, allocations: 172.1 kB / 1.212 GB, free: 28 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/1.101, allocations: 43.19 kB / 1.212 GB, free: 4 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006872/1.101, allocations: 368.5 kB / 1.213 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.101, allocations: 1.969 kB / 1.213 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.101, allocations: 0 / 1.213 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.101, allocations: 3.219 kB / 1.213 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/1.103, allocations: 0.9399 MB / 1.214 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.103, allocations: 2.469 kB / 1.214 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/1.103, allocations: 47.25 kB / 1.214 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.103, allocations: 5.281 kB / 1.214 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/1.103, allocations: 14.44 kB / 1.214 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/1.103, allocations: 2.469 kB / 1.214 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.103, allocations: 5.156 kB / 1.214 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/1.104, allocations: 0.6246 MB / 1.214 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/1.104, allocations: 150.7 kB / 1.214 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/1.104, allocations: 10.83 kB / 1.214 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.104, allocations: 27.11 kB / 1.214 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/1.104, allocations: 19.41 kB / 1.214 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/1.104, allocations: 7.688 kB / 1.214 GB, free: 14.45 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002608/1.105, allocations: 282.1 kB / 1.215 GB, free: 14.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.105, allocations: 4 kB / 1.215 GB, free: 14.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004397/1.105, allocations: 114.6 kB / 1.215 GB, free: 14.24 MB / 0.92 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.000384/1.106, allocations: 169.2 kB / 1.215 GB, free: 14.12 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005647/1.106, allocations: 303.4 kB / 1.215 GB, free: 13.98 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.106, allocations: 2.906 kB / 1.215 GB, free: 13.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/1.106, allocations: 150.8 kB / 1.215 GB, free: 13.92 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/1.107, allocations: 224.5 kB / 1.216 GB, free: 13.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.109, allocations: 0.9753 MB / 1.217 GB, free: 13.06 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/1.109, allocations: 0.8307 MB / 1.217 GB, free: 12.3 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/1.109, allocations: 38.84 kB / 1.217 GB, free: 12.29 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/1.109, allocations: 0 / 1.217 GB, free: 12.29 MB / 0.92 GB Notification: Performance of Templates: time 0.009557/1.119, allocations: 6.792 MB / 1.224 GB, free: 5.816 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches