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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001691/0.001691, allocations: 103.2 kB / 16.27 MB, free: 5.977 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.001959/0.001959, allocations: 191.1 kB / 17.2 MB, free: 5.617 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.716/2.716, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001932, allocations: 71.05 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7441, allocations: 162.2 MB / 1.083 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2214/0.9656, allocations: 179.4 MB / 1.258 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009968/0.9756, allocations: 7.838 MB / 1.266 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.9762, allocations: 19.88 kB / 1.266 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.9769, allocations: 238.2 kB / 1.266 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.98, allocations: 1.217 MB / 1.267 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.9819, allocations: 0.7206 MB / 1.268 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.9832, allocations: 1.068 MB / 1.269 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.9839, allocations: 401.4 kB / 1.269 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.9866, allocations: 0.9836 MB / 1.27 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/0.9872, allocations: 430.5 kB / 1.271 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.54e-05/0.9873, allocations: 36 kB / 1.271 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.9891, allocations: 0.9354 MB / 1.272 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.9893, allocations: 159.5 kB / 1.272 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.9896, allocations: 238.8 kB / 1.272 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.991, allocations: 0.9271 MB / 1.273 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.991, allocations: 4 kB / 1.273 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.991, allocations: 0 / 1.273 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.991, allocations: 0 / 1.273 GB, free: 11.87 MB / 0.9981 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.001235/0.9923, allocations: 0.8026 MB / 1.274 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.9923, allocations: 12.03 kB / 1.274 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009441/0.9933, allocations: 155.2 kB / 1.274 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.9938, allocations: 379.4 kB / 1.274 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.9939, allocations: 32.94 kB / 1.274 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.994, allocations: 36 kB / 1.274 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.9947, allocations: 454.4 kB / 1.275 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.9947, allocations: 3.938 kB / 1.275 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.9948, allocations: 19.94 kB / 1.275 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.9948, allocations: 8 kB / 1.275 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.9954, allocations: 319.8 kB / 1.275 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.9978, allocations: 2.015 MB / 1.277 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.9982, allocations: 234.5 kB / 1.277 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.9985, allocations: 158.7 kB / 1.277 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.9991, allocations: 303.2 kB / 1.278 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.9992, allocations: 46.55 kB / 1.278 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.9992, allocations: 0 / 1.278 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.00109/1, allocations: 449.3 kB / 1.278 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/1, allocations: 63.2 kB / 1.278 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/1.001, allocations: 398 kB / 1.279 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/1.001, allocations: 29.7 kB / 1.279 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/1.001, allocations: 236.2 kB / 1.279 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/1.001, allocations: 78.81 kB / 1.279 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/1.001, allocations: 57.7 kB / 1.279 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.001, allocations: 354.7 kB / 1.279 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/1.002, allocations: 111.9 kB / 1.279 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/1.002, allocations: 186.8 kB / 1.28 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/1.003, allocations: 308.7 kB / 1.28 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.003, allocations: 0 / 1.28 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006694/1.003, allocations: 359 kB / 1.28 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.003, allocations: 7.984 kB / 1.28 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.003, allocations: 4 kB / 1.28 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.003, allocations: 4.219 kB / 1.28 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/1.004, allocations: 59.91 kB / 1.28 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.004, allocations: 7.938 kB / 1.28 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/1.004, allocations: 43.52 kB / 1.28 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/1.004, allocations: 12 kB / 1.28 GB, free: 3.746 MB / 0.9981 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.0002001/1.004, allocations: 165.7 kB / 1.281 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/1.004, allocations: 39.53 kB / 1.281 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007558/1.005, allocations: 370.7 kB / 1.281 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.005, allocations: 4 kB / 1.281 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.005, allocations: 0 / 1.281 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.005, allocations: 7.984 kB / 1.281 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/1.006, allocations: 0.9427 MB / 1.282 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.007, allocations: 0 / 1.282 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/1.007, allocations: 43.92 kB / 1.282 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/1.007, allocations: 7.938 kB / 1.282 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/1.007, allocations: 12.2 kB / 1.282 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.007, allocations: 8 kB / 1.282 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.007, allocations: 3.938 kB / 1.282 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/1.008, allocations: 0.6178 MB / 1.283 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/1.008, allocations: 160.3 kB / 1.283 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/1.008, allocations: 11.94 kB / 1.283 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/1.008, allocations: 11.98 kB / 1.283 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/1.008, allocations: 20.05 kB / 1.283 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/1.008, allocations: 12 kB / 1.283 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003177/1.009, allocations: 287.1 kB / 1.283 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.009, allocations: 0 / 1.283 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004541/1.009, allocations: 107.8 kB / 1.283 GB, free: 0.793 MB / 0.9981 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.0004214/1.01, allocations: 162.5 kB / 1.283 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006337/1.01, allocations: 305.7 kB / 1.284 GB, free: 340 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.01, allocations: 4 kB / 1.284 GB, free: 336 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/1.011, allocations: 144.5 kB / 1.284 GB, free: 192 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/1.012, allocations: 224.8 kB / 1.284 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/1.013, allocations: 0.8523 MB / 1.285 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/1.014, allocations: 0.8272 MB / 1.286 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.014, allocations: 39.42 kB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/1.014, allocations: 0 / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of Templates: time 0.0109/1.025, allocations: 6.793 MB / 1.292 GB, free: 7.457 MB / 1.014 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=400 -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