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.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.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.007143/0.007142, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001496/0.001496, allocations: 193.2 kB / 16.67 MB, free: 5.965 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 / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3192, allocations: 157.4 MB / 1.208 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.9926/1.312, allocations: 179.4 MB / 1.383 GB, free: 8.066 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009568/1.321, allocations: 7.826 MB / 1.391 GB, free: 1.723 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006124/1.322, allocations: 21 kB / 1.391 GB, free: 1.715 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007375/1.323, allocations: 241.1 kB / 1.391 GB, free: 1.504 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003164/1.326, allocations: 1.218 MB / 1.392 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/1.328, allocations: 0.735 MB / 1.393 GB, free: 36 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001455/1.329, allocations: 1.076 MB / 1.394 GB, free: 15.42 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005952/1.33, allocations: 415.6 kB / 1.394 GB, free: 15.17 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/1.332, allocations: 0.8446 MB / 1.395 GB, free: 14.67 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/1.333, allocations: 436.5 kB / 1.395 GB, free: 14.43 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/1.333, allocations: 36.81 kB / 1.395 GB, free: 14.43 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/1.335, allocations: 0.9471 MB / 1.396 GB, free: 13.9 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/1.335, allocations: 159.7 kB / 1.397 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/1.335, allocations: 244.4 kB / 1.397 GB, free: 13.64 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/1.337, allocations: 0.9408 MB / 1.398 GB, free: 13.06 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.337, allocations: 0 / 1.398 GB, free: 13.06 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.282e-06/1.337, allocations: 1.344 kB / 1.398 GB, free: 13.06 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.807e-06/1.337, allocations: 0 / 1.398 GB, free: 13.06 MB / 1.092 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.001251/1.338, allocations: 0.7978 MB / 1.398 GB, free: 12.38 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.338, allocations: 10.25 kB / 1.398 GB, free: 12.38 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009536/1.339, allocations: 156.7 kB / 1.399 GB, free: 12.31 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/1.34, allocations: 409.5 kB / 1.399 GB, free: 11.95 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/1.34, allocations: 29.59 kB / 1.399 GB, free: 11.94 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/1.34, allocations: 36.34 kB / 1.399 GB, free: 11.93 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/1.34, allocations: 445.5 kB / 1.4 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.341, allocations: 0.875 kB / 1.4 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/1.341, allocations: 15.72 kB / 1.4 GB, free: 11.63 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/1.341, allocations: 14.16 kB / 1.4 GB, free: 11.62 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005798/1.341, allocations: 328.7 kB / 1.4 GB, free: 11.47 MB / 1.092 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.002176/1.343, allocations: 2.01 MB / 1.402 GB, free: 9.625 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/1.344, allocations: 234 kB / 1.402 GB, free: 9.496 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/1.344, allocations: 149 kB / 1.402 GB, free: 9.422 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005661/1.345, allocations: 309.2 kB / 1.402 GB, free: 9.109 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.345, allocations: 32.84 kB / 1.403 GB, free: 9.07 MB / 1.092 GB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/1.345, allocations: 4 kB / 1.403 GB, free: 9.066 MB / 1.092 GB Notification: Performance of matching and sorting (n=24): time 0.0009985/1.346, allocations: 453.8 kB / 1.403 GB, free: 8.84 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/1.346, allocations: 53.84 kB / 1.403 GB, free: 8.777 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/1.346, allocations: 395.7 kB / 1.403 GB, free: 8.531 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/1.346, allocations: 36.62 kB / 1.403 GB, free: 8.492 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/1.346, allocations: 233.3 kB / 1.404 GB, free: 8.281 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/1.346, allocations: 83.41 kB / 1.404 GB, free: 8.211 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/1.346, allocations: 50.48 kB / 1.404 GB, free: 8.176 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.347, allocations: 353.3 kB / 1.404 GB, free: 7.832 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/1.347, allocations: 109.5 kB / 1.404 GB, free: 7.781 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/1.347, allocations: 188.5 kB / 1.404 GB, free: 7.645 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/1.348, allocations: 307.8 kB / 1.405 GB, free: 7.449 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.348, allocations: 2.75 kB / 1.405 GB, free: 7.449 MB / 1.092 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005897/1.348, allocations: 362.2 kB / 1.405 GB, free: 7.262 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.348, allocations: 9.188 kB / 1.405 GB, free: 7.258 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.348, allocations: 3.125 kB / 1.405 GB, free: 7.258 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.348, allocations: 2.75 kB / 1.405 GB, free: 7.258 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/1.349, allocations: 60.22 kB / 1.405 GB, free: 7.242 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.349, allocations: 11.05 kB / 1.405 GB, free: 7.238 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/1.349, allocations: 42.28 kB / 1.405 GB, free: 7.211 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/1.349, allocations: 14.86 kB / 1.405 GB, free: 7.207 MB / 1.092 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.0001724/1.349, allocations: 169.8 kB / 1.405 GB, free: 7.055 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/1.349, allocations: 39.78 kB / 1.405 GB, free: 7.035 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006762/1.35, allocations: 361.8 kB / 1.406 GB, free: 6.832 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.35, allocations: 6.5 kB / 1.406 GB, free: 6.828 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.35, allocations: 3.938 kB / 1.406 GB, free: 6.824 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.35, allocations: 0 / 1.406 GB, free: 6.824 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/1.351, allocations: 0.9438 MB / 1.407 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.351, allocations: 3.219 kB / 1.407 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/1.352, allocations: 48.12 kB / 1.407 GB, free: 6.086 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/1.352, allocations: 7.031 kB / 1.407 GB, free: 6.082 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/1.352, allocations: 13.19 kB / 1.407 GB, free: 6.074 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/1.352, allocations: 6.422 kB / 1.407 GB, free: 6.07 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.352, allocations: 1.438 kB / 1.407 GB, free: 6.07 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/1.352, allocations: 0.6215 MB / 1.407 GB, free: 5.648 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/1.353, allocations: 156.8 kB / 1.407 GB, free: 5.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/1.353, allocations: 6.75 kB / 1.407 GB, free: 5.496 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/1.353, allocations: 18.92 kB / 1.407 GB, free: 5.484 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/1.353, allocations: 17.61 kB / 1.408 GB, free: 5.477 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/1.353, allocations: 6.922 kB / 1.408 GB, free: 5.477 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002793/1.353, allocations: 282.3 kB / 1.408 GB, free: 5.305 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/1.353, allocations: 3.938 kB / 1.408 GB, free: 5.301 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00047/1.354, allocations: 109.7 kB / 1.408 GB, free: 5.281 MB / 1.092 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.0004133/1.354, allocations: 177.8 kB / 1.408 GB, free: 5.148 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005746/1.355, allocations: 287.6 kB / 1.408 GB, free: 5.023 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.355, allocations: 0 / 1.408 GB, free: 5.023 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/1.355, allocations: 153 kB / 1.408 GB, free: 4.953 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.356, allocations: 228.6 kB / 1.409 GB, free: 4.836 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/1.357, allocations: 0.8067 MB / 1.409 GB, free: 4.273 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/1.358, allocations: 0.8342 MB / 1.41 GB, free: 3.504 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002554/1.358, allocations: 91.11 kB / 1.41 GB, free: 3.469 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/1.358, allocations: 32.72 kB / 1.41 GB, free: 3.461 MB / 1.092 GB Notification: Performance of SimCode: time 2.5e-07/1.358, allocations: 0 / 1.41 GB, free: 3.461 MB / 1.092 GB Notification: Performance of Templates: time 0.01401/1.372, allocations: 7.784 MB / 1.418 GB, free: 14.96 MB / 1.107 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches