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.001445/0.001445, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 194 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.19 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3107, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1905/0.5013, allocations: 179.4 MB / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6338/1.135, allocations: 7.813 MB / 1.251 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005994/1.136, allocations: 19.25 kB / 1.251 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006698/1.136, allocations: 243.6 kB / 1.251 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/1.14, allocations: 1.221 MB / 1.252 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/1.142, allocations: 0.7253 MB / 1.253 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00161/1.144, allocations: 1.081 MB / 1.254 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000727/1.144, allocations: 406.4 kB / 1.255 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/1.147, allocations: 0.8216 MB / 1.255 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009973/1.148, allocations: 437.8 kB / 1.256 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/1.148, allocations: 37.84 kB / 1.256 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/1.151, allocations: 0.948 MB / 1.257 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002813/1.151, allocations: 158.3 kB / 1.257 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005152/1.152, allocations: 243.1 kB / 1.257 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/1.154, allocations: 0.9299 MB / 1.258 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.154, allocations: 2.562 kB / 1.258 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.154, allocations: 0.9688 kB / 1.258 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.027e-05/1.154, allocations: 3.281 kB / 1.258 GB, free: 5.668 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.001654/1.156, allocations: 0.8054 MB / 1.259 GB, free: 21.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/1.156, allocations: 8.594 kB / 1.259 GB, free: 21.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.157, allocations: 146.4 kB / 1.259 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/1.157, allocations: 385.9 kB / 1.259 GB, free: 20.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/1.157, allocations: 31.33 kB / 1.259 GB, free: 20.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/1.157, allocations: 37.66 kB / 1.259 GB, free: 20.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/1.158, allocations: 447.6 kB / 1.26 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/1.158, allocations: 0 / 1.26 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/1.158, allocations: 20.09 kB / 1.26 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/1.158, allocations: 10.5 kB / 1.26 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/1.159, allocations: 318 kB / 1.26 GB, free: 20.77 MB / 1.014 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.002158/1.161, allocations: 2.029 MB / 1.262 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/1.161, allocations: 235.3 kB / 1.262 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/1.162, allocations: 152.8 kB / 1.263 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/1.162, allocations: 311.1 kB / 1.263 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/1.162, allocations: 35.59 kB / 1.263 GB, free: 19.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.743e-06/1.162, allocations: 0 / 1.263 GB, free: 19.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001019/1.163, allocations: 455.9 kB / 1.263 GB, free: 19.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/1.163, allocations: 56.81 kB / 1.263 GB, free: 18.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/1.164, allocations: 400.2 kB / 1.264 GB, free: 18.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/1.164, allocations: 33.55 kB / 1.264 GB, free: 18.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/1.164, allocations: 225.6 kB / 1.264 GB, free: 18.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/1.164, allocations: 82.72 kB / 1.264 GB, free: 18.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/1.164, allocations: 62.78 kB / 1.264 GB, free: 18.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.164, allocations: 350.9 kB / 1.264 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/1.164, allocations: 110.1 kB / 1.265 GB, free: 18.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/1.165, allocations: 189.2 kB / 1.265 GB, free: 18.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/1.165, allocations: 306.7 kB / 1.265 GB, free: 18.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.165, allocations: 0 / 1.265 GB, free: 18.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006485/1.166, allocations: 368.9 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.166, allocations: 3.75 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.166, allocations: 2.625 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.166, allocations: 7.719 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/1.166, allocations: 61.58 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.166, allocations: 5.25 kB / 1.265 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/1.167, allocations: 44.75 kB / 1.266 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/1.167, allocations: 13.88 kB / 1.266 GB, free: 18.09 MB / 1.014 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.0001663/1.167, allocations: 167.1 kB / 1.266 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/1.167, allocations: 42.81 kB / 1.266 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006975/1.167, allocations: 367.9 kB / 1.266 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.168, allocations: 5.922 kB / 1.266 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.168, allocations: 0 / 1.266 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.168, allocations: 6.016 kB / 1.266 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/1.169, allocations: 0.9407 MB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.169, allocations: 2.562 kB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/1.169, allocations: 47.39 kB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.169, allocations: 4.938 kB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/1.169, allocations: 6.812 kB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.169, allocations: 2.953 kB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.169, allocations: 6.766 kB / 1.267 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/1.17, allocations: 0.6292 MB / 1.268 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/1.17, allocations: 145.3 kB / 1.268 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/1.171, allocations: 8 kB / 1.268 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/1.171, allocations: 10.84 kB / 1.268 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/1.171, allocations: 26.14 kB / 1.268 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/1.171, allocations: 10.22 kB / 1.268 GB, free: 17.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002832/1.171, allocations: 280.1 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.171, allocations: 0 / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004921/1.172, allocations: 116.6 kB / 1.268 GB, free: 17.12 MB / 1.014 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.0003894/1.172, allocations: 173.5 kB / 1.268 GB, free: 17.03 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000635/1.173, allocations: 300.2 kB / 1.269 GB, free: 17.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.173, allocations: 1.094 kB / 1.269 GB, free: 17.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/1.173, allocations: 154.7 kB / 1.269 GB, free: 17.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.174, allocations: 226.7 kB / 1.269 GB, free: 16.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/1.176, allocations: 0.8156 MB / 1.27 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/1.176, allocations: 0.8244 MB / 1.271 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004119/1.177, allocations: 96.69 kB / 1.271 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/1.177, allocations: 39.47 kB / 1.271 GB, free: 15.9 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.177, allocations: 0 / 1.271 GB, free: 15.9 MB / 1.014 GB Notification: Performance of Templates: time 0.01713/1.194, allocations: 7.611 MB / 1.278 GB, free: 15.61 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=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