Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001273/0.001273, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001335/0.001335, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.419/1.419, 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 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 64.12 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3617, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6993/1.061, allocations: 177 MB / 1.237 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01061/1.072, allocations: 7.777 MB / 1.245 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007135/1.072, allocations: 19.88 kB / 1.245 GB, free: 360 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007556/1.073, allocations: 198.8 kB / 1.245 GB, free: 160 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003333/1.077, allocations: 1.148 MB / 1.246 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/1.079, allocations: 0.6721 MB / 1.247 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001487/1.08, allocations: 1.08 MB / 1.248 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000668/1.081, allocations: 393.3 kB / 1.248 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/1.084, allocations: 0.8327 MB / 1.249 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007677/1.085, allocations: 458.4 kB / 1.249 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/1.085, allocations: 40 kB / 1.249 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/1.087, allocations: 0.9741 MB / 1.25 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001892/1.087, allocations: 163.5 kB / 1.25 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003122/1.087, allocations: 250.8 kB / 1.251 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/1.088, allocations: 0.6627 MB / 1.251 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/1.088, allocations: 0 / 1.251 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/1.088, allocations: 0 / 1.251 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.088, allocations: 0 / 1.251 GB, free: 9.512 MB / 0.9669 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.001368/1.09, allocations: 0.8032 MB / 1.252 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.09, allocations: 16.03 kB / 1.252 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000978/1.091, allocations: 147.2 kB / 1.252 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/1.091, allocations: 387.3 kB / 1.253 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/1.091, allocations: 29 kB / 1.253 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/1.091, allocations: 39.98 kB / 1.253 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008189/1.092, allocations: 446.4 kB / 1.253 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.092, allocations: 0 / 1.253 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/1.092, allocations: 20 kB / 1.253 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/1.092, allocations: 11.94 kB / 1.253 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000642/1.093, allocations: 323.7 kB / 1.253 GB, free: 7.203 MB / 0.9669 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.002401/1.095, allocations: 2.012 MB / 1.255 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/1.096, allocations: 234.5 kB / 1.256 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/1.096, allocations: 140.8 kB / 1.256 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006639/1.097, allocations: 311.2 kB / 1.256 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/1.097, allocations: 38.5 kB / 1.256 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 1.923e-06/1.097, allocations: 0 / 1.256 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.001097/1.098, allocations: 459.4 kB / 1.257 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.098, allocations: 55.41 kB / 1.257 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/1.098, allocations: 394 kB / 1.257 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/1.099, allocations: 29.7 kB / 1.257 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/1.099, allocations: 240.2 kB / 1.257 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-05/1.099, allocations: 74.89 kB / 1.257 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/1.099, allocations: 61.61 kB / 1.257 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.099, allocations: 354.7 kB / 1.258 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/1.099, allocations: 115.9 kB / 1.258 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/1.1, allocations: 187.9 kB / 1.258 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005653/1.1, allocations: 309 kB / 1.258 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.1, allocations: 0 / 1.258 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000687/1.101, allocations: 360.8 kB / 1.259 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.101, allocations: 8 kB / 1.259 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.101, allocations: 3.938 kB / 1.259 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.101, allocations: 4 kB / 1.259 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/1.101, allocations: 60.12 kB / 1.259 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.101, allocations: 7.984 kB / 1.259 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/1.102, allocations: 47.61 kB / 1.259 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/1.102, allocations: 12 kB / 1.259 GB, free: 1.402 MB / 0.9669 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.0002134/1.102, allocations: 169.7 kB / 1.259 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/1.102, allocations: 47.44 kB / 1.259 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/1.103, allocations: 370.8 kB / 1.259 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.103, allocations: 0 / 1.259 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.103, allocations: 4 kB / 1.259 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.103, allocations: 0 / 1.259 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/1.104, allocations: 0.9388 MB / 1.26 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.104, allocations: 0 / 1.26 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/1.105, allocations: 56.12 kB / 1.26 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.105, allocations: 4 kB / 1.26 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/1.105, allocations: 11.94 kB / 1.26 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1.105, allocations: 4 kB / 1.26 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.105, allocations: 7.938 kB / 1.26 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/1.106, allocations: 0.6196 MB / 1.261 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/1.106, allocations: 148.5 kB / 1.261 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/1.106, allocations: 13.86 kB / 1.261 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/1.106, allocations: 28.05 kB / 1.261 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/1.106, allocations: 19.91 kB / 1.261 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/1.106, allocations: 12 kB / 1.261 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003183/1.107, allocations: 279.1 kB / 1.261 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.01e-07/1.107, allocations: 4 kB / 1.261 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000472/1.107, allocations: 115.7 kB / 1.262 GB, free: 14.44 MB / 0.9825 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.0004621/1.108, allocations: 168.1 kB / 1.262 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006608/1.108, allocations: 309 kB / 1.262 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.108, allocations: 0 / 1.262 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/1.109, allocations: 151.7 kB / 1.262 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/1.11, allocations: 224.5 kB / 1.262 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/1.111, allocations: 0.9857 MB / 1.263 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/1.112, allocations: 0.8311 MB / 1.264 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/1.112, allocations: 39.44 kB / 1.264 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of SimCode: time 2.275e-06/1.112, allocations: 0 / 1.264 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of Templates: time 0.01188/1.124, allocations: 6.794 MB / 1.271 GB, free: 4.953 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches