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.009541/0.009541, allocations: 102.1 kB / 15.73 MB, free: 5.996 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.002377/0.002377, allocations: 185.5 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.747/2.747, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3154, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.9257/1.241, allocations: 179.4 MB / 1.342 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01058/1.252, allocations: 7.829 MB / 1.349 GB, free: 5.164 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008648/1.253, allocations: 20.47 kB / 1.349 GB, free: 5.156 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009764/1.254, allocations: 239.8 kB / 1.35 GB, free: 4.992 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/1.257, allocations: 1.264 MB / 1.351 GB, free: 4.328 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/1.26, allocations: 0.7456 MB / 1.352 GB, free: 3.961 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001687/1.261, allocations: 1.082 MB / 1.353 GB, free: 3.477 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007844/1.262, allocations: 407 kB / 1.353 GB, free: 3.301 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/1.265, allocations: 0.8637 MB / 1.354 GB, free: 2.926 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009641/1.266, allocations: 435.8 kB / 1.354 GB, free: 2.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/1.266, allocations: 37.16 kB / 1.354 GB, free: 2.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/1.268, allocations: 0.9575 MB / 1.355 GB, free: 2.363 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/1.269, allocations: 153.1 kB / 1.355 GB, free: 2.301 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004646/1.269, allocations: 253.5 kB / 1.356 GB, free: 2.152 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/1.271, allocations: 0.9383 MB / 1.357 GB, free: 1.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.271, allocations: 1.312 kB / 1.357 GB, free: 1.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/1.271, allocations: 0 / 1.357 GB, free: 1.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.068e-05/1.271, allocations: 0 / 1.357 GB, free: 1.82 MB / 1.029 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.00153/1.273, allocations: 0.8174 MB / 1.357 GB, free: 1.176 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.273, allocations: 13.48 kB / 1.357 GB, free: 1.172 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.274, allocations: 158 kB / 1.358 GB, free: 1.129 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007534/1.275, allocations: 404.8 kB / 1.358 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/1.275, allocations: 28.16 kB / 1.358 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/1.275, allocations: 37.06 kB / 1.358 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/1.276, allocations: 455.2 kB / 1.358 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/1.276, allocations: 1.5 kB / 1.358 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/1.276, allocations: 15.91 kB / 1.359 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/1.276, allocations: 16.41 kB / 1.359 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007228/1.276, allocations: 320.7 kB / 1.359 GB, free: 468 kB / 1.029 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.002665/1.279, allocations: 2.01 MB / 1.361 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/1.28, allocations: 238.6 kB / 1.361 GB, free: 14.74 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/1.28, allocations: 150.3 kB / 1.361 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005895/1.28, allocations: 304.3 kB / 1.361 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.28, allocations: 37.34 kB / 1.361 GB, free: 14.36 MB / 1.045 GB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/1.28, allocations: 4 kB / 1.361 GB, free: 14.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=24): time 0.001122/1.282, allocations: 457 kB / 1.362 GB, free: 14.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1.282, allocations: 54.56 kB / 1.362 GB, free: 14.12 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/1.282, allocations: 401.6 kB / 1.362 GB, free: 13.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/1.282, allocations: 26.83 kB / 1.362 GB, free: 13.89 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/1.282, allocations: 242.5 kB / 1.363 GB, free: 13.7 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/1.283, allocations: 84.67 kB / 1.363 GB, free: 13.63 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/1.283, allocations: 64.91 kB / 1.363 GB, free: 13.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.283, allocations: 354.1 kB / 1.363 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/1.283, allocations: 109.1 kB / 1.363 GB, free: 13.22 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/1.283, allocations: 182.5 kB / 1.363 GB, free: 13.12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/1.284, allocations: 310.5 kB / 1.364 GB, free: 12.95 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.284, allocations: 1.188 kB / 1.364 GB, free: 12.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006753/1.285, allocations: 362.8 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.285, allocations: 10.94 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.285, allocations: 1.781 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.285, allocations: 4 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/1.285, allocations: 55.84 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.285, allocations: 5.344 kB / 1.364 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/1.285, allocations: 38.5 kB / 1.364 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/1.285, allocations: 14.06 kB / 1.364 GB, free: 12.77 MB / 1.045 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.0001908/1.286, allocations: 171.2 kB / 1.364 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/1.286, allocations: 45.78 kB / 1.364 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007302/1.286, allocations: 374.1 kB / 1.365 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.286, allocations: 6.344 kB / 1.365 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.286, allocations: 0 / 1.365 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.286, allocations: 2.297 kB / 1.365 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/1.288, allocations: 0.9383 MB / 1.366 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.288, allocations: 1.312 kB / 1.366 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/1.288, allocations: 48.66 kB / 1.366 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/1.288, allocations: 6.906 kB / 1.366 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.288, allocations: 12.09 kB / 1.366 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.288, allocations: 3.938 kB / 1.366 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.288, allocations: 1.5 kB / 1.366 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/1.289, allocations: 0.6329 MB / 1.366 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/1.289, allocations: 151.5 kB / 1.366 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/1.289, allocations: 7.828 kB / 1.366 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/1.29, allocations: 14.17 kB / 1.366 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/1.29, allocations: 21.56 kB / 1.367 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/1.29, allocations: 11.41 kB / 1.367 GB, free: 11.2 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003073/1.29, allocations: 277.6 kB / 1.367 GB, free: 11.04 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.29, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005409/1.291, allocations: 113.8 kB / 1.367 GB, free: 11.01 MB / 1.045 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.000407/1.291, allocations: 182.3 kB / 1.367 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006263/1.292, allocations: 284.3 kB / 1.367 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.292, allocations: 1.125 kB / 1.367 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/1.292, allocations: 159.2 kB / 1.367 GB, free: 10.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009982/1.293, allocations: 223.8 kB / 1.368 GB, free: 10.56 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/1.294, allocations: 0.8227 MB / 1.369 GB, free: 9.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/1.295, allocations: 0.8299 MB / 1.369 GB, free: 9.215 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002941/1.295, allocations: 103.1 kB / 1.369 GB, free: 9.168 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/1.295, allocations: 34.91 kB / 1.369 GB, free: 9.16 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/1.295, allocations: 0 / 1.369 GB, free: 9.16 MB / 1.045 GB Notification: Performance of Templates: time 0.01394/1.309, allocations: 7.653 MB / 1.377 GB, free: 5.395 MB / 1.045 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