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.001452/0.001452, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001682/0.001682, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.371/1.371, 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.1-master/package.mo): time 2.618/2.618, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.868, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1856/1.054, allocations: 179.4 MB / 1.384 GB, free: 9.488 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009248/1.063, allocations: 7.828 MB / 1.391 GB, free: 1.637 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006663/1.064, allocations: 19.88 kB / 1.391 GB, free: 1.617 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007801/1.064, allocations: 246.2 kB / 1.392 GB, free: 1.375 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003154/1.068, allocations: 1.221 MB / 1.393 GB, free: 152 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/1.07, allocations: 0.7352 MB / 1.393 GB, free: 15.41 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001446/1.071, allocations: 1.076 MB / 1.394 GB, free: 14.34 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007209/1.072, allocations: 407.3 kB / 1.395 GB, free: 13.94 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002443/1.074, allocations: 0.8443 MB / 1.396 GB, free: 13.1 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/1.075, allocations: 438.4 kB / 1.396 GB, free: 12.67 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/1.075, allocations: 36 kB / 1.396 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/1.077, allocations: 0.9471 MB / 1.397 GB, free: 11.69 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/1.077, allocations: 151.6 kB / 1.397 GB, free: 11.54 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/1.077, allocations: 254.7 kB / 1.397 GB, free: 11.29 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/1.079, allocations: 0.931 MB / 1.398 GB, free: 10.36 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.079, allocations: 4 kB / 1.398 GB, free: 10.35 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.825e-06/1.079, allocations: 0 / 1.398 GB, free: 10.35 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.523e-05/1.079, allocations: 7.938 kB / 1.398 GB, free: 10.34 MB / 1.123 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.001268/1.08, allocations: 0.7988 MB / 1.399 GB, free: 9.496 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/1.081, allocations: 11.97 kB / 1.399 GB, free: 9.484 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/1.081, allocations: 159.2 kB / 1.399 GB, free: 9.328 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/1.082, allocations: 407.3 kB / 1.4 GB, free: 8.895 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/1.082, allocations: 29 kB / 1.4 GB, free: 8.867 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/1.082, allocations: 43.92 kB / 1.4 GB, free: 8.824 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/1.083, allocations: 450.4 kB / 1.4 GB, free: 8.355 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.083, allocations: 0 / 1.4 GB, free: 8.355 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/1.083, allocations: 19.94 kB / 1.4 GB, free: 8.336 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.083, allocations: 8 kB / 1.4 GB, free: 8.328 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/1.084, allocations: 315.8 kB / 1.401 GB, free: 8.023 MB / 1.123 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.002135/1.086, allocations: 2.008 MB / 1.403 GB, free: 5.836 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/1.086, allocations: 248 kB / 1.403 GB, free: 5.586 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/1.087, allocations: 148.8 kB / 1.403 GB, free: 5.438 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/1.087, allocations: 307.2 kB / 1.403 GB, free: 5.082 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.087, allocations: 34.56 kB / 1.403 GB, free: 5.039 MB / 1.123 GB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/1.087, allocations: 0 / 1.403 GB, free: 5.039 MB / 1.123 GB Notification: Performance of matching and sorting (n=24): time 0.00104/1.088, allocations: 447.7 kB / 1.404 GB, free: 4.598 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.088, allocations: 55.34 kB / 1.404 GB, free: 4.531 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/1.089, allocations: 406 kB / 1.404 GB, free: 4.125 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/1.089, allocations: 29.7 kB / 1.404 GB, free: 4.09 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/1.089, allocations: 232.2 kB / 1.404 GB, free: 3.859 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/1.089, allocations: 82.8 kB / 1.404 GB, free: 3.777 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/1.089, allocations: 53.7 kB / 1.404 GB, free: 3.719 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.089, allocations: 358.7 kB / 1.405 GB, free: 3.359 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/1.089, allocations: 107.9 kB / 1.405 GB, free: 3.254 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/1.09, allocations: 179.3 kB / 1.405 GB, free: 3.055 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/1.09, allocations: 308.7 kB / 1.405 GB, free: 2.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.09, allocations: 0 / 1.405 GB, free: 2.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006555/1.091, allocations: 372.7 kB / 1.406 GB, free: 2.359 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.091, allocations: 6.188 kB / 1.406 GB, free: 2.355 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.091, allocations: 4 kB / 1.406 GB, free: 2.352 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.091, allocations: 0 / 1.406 GB, free: 2.352 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/1.091, allocations: 63.91 kB / 1.406 GB, free: 2.289 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.091, allocations: 0 / 1.406 GB, free: 2.289 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/1.092, allocations: 47.52 kB / 1.406 GB, free: 2.242 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/1.092, allocations: 20.16 kB / 1.406 GB, free: 2.223 MB / 1.123 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.000175/1.092, allocations: 170.2 kB / 1.406 GB, free: 2.047 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/1.092, allocations: 39.53 kB / 1.406 GB, free: 2.008 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/1.093, allocations: 359.1 kB / 1.406 GB, free: 1.652 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/1.093, allocations: 7.984 kB / 1.406 GB, free: 1.645 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.093, allocations: 3.938 kB / 1.406 GB, free: 1.641 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.093, allocations: 0 / 1.406 GB, free: 1.641 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/1.094, allocations: 0.941 MB / 1.407 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.094, allocations: 8.062 kB / 1.407 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/1.094, allocations: 43.97 kB / 1.407 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/1.095, allocations: 7.938 kB / 1.407 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/1.095, allocations: 8 kB / 1.407 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.095, allocations: 7.938 kB / 1.407 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.095, allocations: 0 / 1.407 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/1.095, allocations: 0.6218 MB / 1.408 GB, free: 15.88 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/1.096, allocations: 160.5 kB / 1.408 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/1.096, allocations: 8 kB / 1.408 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/1.096, allocations: 11.98 kB / 1.408 GB, free: 15.69 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/1.096, allocations: 19.98 kB / 1.408 GB, free: 15.67 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/1.096, allocations: 7.984 kB / 1.408 GB, free: 15.66 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002876/1.096, allocations: 283.1 kB / 1.408 GB, free: 15.39 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.096, allocations: 0 / 1.408 GB, free: 15.39 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004763/1.097, allocations: 111.8 kB / 1.409 GB, free: 15.28 MB / 1.139 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.0004293/1.097, allocations: 168 kB / 1.409 GB, free: 15.11 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005899/1.098, allocations: 290.2 kB / 1.409 GB, free: 14.83 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.098, allocations: 4.062 kB / 1.409 GB, free: 14.83 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/1.098, allocations: 147.8 kB / 1.409 GB, free: 14.68 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/1.099, allocations: 222.8 kB / 1.409 GB, free: 14.47 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/1.101, allocations: 0.8442 MB / 1.41 GB, free: 13.57 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/1.101, allocations: 0.8272 MB / 1.411 GB, free: 12.72 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/1.101, allocations: 43.36 kB / 1.411 GB, free: 12.68 MB / 1.139 GB Notification: Performance of SimCode: time 2.3e-07/1.101, allocations: 0 / 1.411 GB, free: 12.68 MB / 1.139 GB Notification: Performance of Templates: time 0.01017/1.111, allocations: 6.832 MB / 1.418 GB, free: 5.918 MB / 1.139 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/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