Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005266/0.005266, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001298/0.001298, allocations: 191.6 kB / 16.67 MB, free: 5.93 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437 MB / 0.7105 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9251/0.9263, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1836/1.11, allocations: 179.4 MB / 1.342 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008842/1.119, allocations: 7.834 MB / 1.349 GB, free: 7.902 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005308/1.119, allocations: 19.88 kB / 1.349 GB, free: 7.883 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006918/1.12, allocations: 246.2 kB / 1.35 GB, free: 7.641 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/1.123, allocations: 1.217 MB / 1.351 GB, free: 6.418 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/1.125, allocations: 0.728 MB / 1.352 GB, free: 5.691 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00126/1.126, allocations: 1.076 MB / 1.353 GB, free: 4.613 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005965/1.127, allocations: 401.5 kB / 1.353 GB, free: 4.215 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/1.129, allocations: 0.8403 MB / 1.354 GB, free: 3.383 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/1.13, allocations: 430.5 kB / 1.354 GB, free: 2.961 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/1.13, allocations: 44 kB / 1.354 GB, free: 2.918 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/1.132, allocations: 0.9548 MB / 1.355 GB, free: 1.961 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/1.132, allocations: 151.6 kB / 1.355 GB, free: 1.812 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002366/1.132, allocations: 246.8 kB / 1.356 GB, free: 1.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/1.133, allocations: 0.9428 MB / 1.357 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.133, allocations: 0 / 1.357 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.314e-06/1.133, allocations: 0 / 1.357 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.626e-06/1.133, allocations: 0 / 1.357 GB, free: 0.6289 MB / 1.076 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.001303/1.135, allocations: 0.8211 MB / 1.357 GB, free: 15.75 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.135, allocations: 12.88 kB / 1.357 GB, free: 15.74 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/1.136, allocations: 159.5 kB / 1.358 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/1.137, allocations: 407.7 kB / 1.358 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/1.137, allocations: 29 kB / 1.358 GB, free: 15.12 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/1.137, allocations: 39.98 kB / 1.358 GB, free: 15.08 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/1.137, allocations: 446.4 kB / 1.358 GB, free: 14.62 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.137, allocations: 4 kB / 1.358 GB, free: 14.62 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/1.137, allocations: 19.94 kB / 1.358 GB, free: 14.6 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/1.137, allocations: 8 kB / 1.358 GB, free: 14.59 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000605/1.138, allocations: 327.6 kB / 1.359 GB, free: 14.27 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.002593/1.141, allocations: 2.008 MB / 1.361 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/1.141, allocations: 238.4 kB / 1.361 GB, free: 11.85 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/1.142, allocations: 148.7 kB / 1.361 GB, free: 11.7 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/1.142, allocations: 307.2 kB / 1.361 GB, free: 11.34 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/1.142, allocations: 38.56 kB / 1.361 GB, free: 11.3 MB / 1.092 GB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/1.142, allocations: 0 / 1.361 GB, free: 11.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=24): time 0.001101/1.143, allocations: 464 kB / 1.362 GB, free: 10.84 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/1.143, allocations: 55.41 kB / 1.362 GB, free: 10.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/1.144, allocations: 397.9 kB / 1.362 GB, free: 10.38 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/1.144, allocations: 25.7 kB / 1.362 GB, free: 10.34 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/1.144, allocations: 236.5 kB / 1.363 GB, free: 10.11 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/1.144, allocations: 91.27 kB / 1.363 GB, free: 10.02 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.144, allocations: 61.64 kB / 1.363 GB, free: 9.953 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.144, allocations: 354.7 kB / 1.363 GB, free: 9.598 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/1.145, allocations: 107.9 kB / 1.363 GB, free: 9.492 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/1.145, allocations: 191.8 kB / 1.363 GB, free: 9.281 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/1.145, allocations: 309.2 kB / 1.364 GB, free: 8.957 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.145, allocations: 0 / 1.364 GB, free: 8.957 MB / 1.092 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000603/1.146, allocations: 361 kB / 1.364 GB, free: 8.598 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.146, allocations: 4 kB / 1.364 GB, free: 8.594 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.146, allocations: 8.219 kB / 1.364 GB, free: 8.586 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.146, allocations: 4 kB / 1.364 GB, free: 8.582 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/1.146, allocations: 55.91 kB / 1.364 GB, free: 8.527 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.146, allocations: 4 kB / 1.364 GB, free: 8.523 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/1.147, allocations: 39.72 kB / 1.364 GB, free: 8.484 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/1.147, allocations: 16 kB / 1.364 GB, free: 8.469 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.0001816/1.147, allocations: 169.7 kB / 1.364 GB, free: 8.293 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/1.147, allocations: 43.72 kB / 1.364 GB, free: 8.25 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007213/1.148, allocations: 376.2 kB / 1.365 GB, free: 7.879 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.148, allocations: 0 / 1.365 GB, free: 7.879 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.148, allocations: 3.938 kB / 1.365 GB, free: 7.875 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.148, allocations: 0 / 1.365 GB, free: 7.875 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/1.149, allocations: 0.9391 MB / 1.366 GB, free: 6.859 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.149, allocations: 0 / 1.366 GB, free: 6.859 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/1.149, allocations: 51.91 kB / 1.366 GB, free: 6.809 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.149, allocations: 7.938 kB / 1.366 GB, free: 6.801 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/1.149, allocations: 12.22 kB / 1.366 GB, free: 6.789 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.149, allocations: 4 kB / 1.366 GB, free: 6.785 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.149, allocations: 0 / 1.366 GB, free: 6.785 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/1.15, allocations: 0.6318 MB / 1.366 GB, free: 6.117 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/1.15, allocations: 148.7 kB / 1.366 GB, free: 5.953 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/1.15, allocations: 15.98 kB / 1.366 GB, free: 5.938 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/1.151, allocations: 12 kB / 1.366 GB, free: 5.926 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/1.151, allocations: 23.97 kB / 1.366 GB, free: 5.902 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/1.151, allocations: 15.94 kB / 1.366 GB, free: 5.887 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002677/1.151, allocations: 279.1 kB / 1.367 GB, free: 5.617 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/1.151, allocations: 0 / 1.367 GB, free: 5.617 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004582/1.151, allocations: 107.8 kB / 1.367 GB, free: 5.512 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.0004036/1.152, allocations: 180.7 kB / 1.367 GB, free: 5.332 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005946/1.152, allocations: 287.6 kB / 1.367 GB, free: 5.051 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.152, allocations: 0 / 1.367 GB, free: 5.051 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/1.153, allocations: 152.4 kB / 1.367 GB, free: 4.902 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/1.154, allocations: 230 kB / 1.368 GB, free: 4.688 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/1.155, allocations: 0.8107 MB / 1.368 GB, free: 3.828 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.155, allocations: 0.8233 MB / 1.369 GB, free: 2.977 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002692/1.156, allocations: 107.4 kB / 1.369 GB, free: 2.871 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.251e-05/1.156, allocations: 35.44 kB / 1.369 GB, free: 2.836 MB / 1.092 GB Notification: Performance of SimCode: time 2.4e-07/1.156, allocations: 0 / 1.369 GB, free: 2.836 MB / 1.092 GB Notification: Performance of Templates: time 0.0127/1.169, allocations: 7.648 MB / 1.377 GB, free: 11.31 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches