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.005064/0.005064, allocations: 103.4 kB / 15.74 MB, free: 6.043 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.00113/0.00113, allocations: 200.2 kB / 16.68 MB, free: 5.965 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 72.11 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3633, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.9724/1.336, allocations: 179.9 MB / 1.396 GB, free: 8.699 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01061/1.346, allocations: 7.834 MB / 1.404 GB, free: 2.359 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009034/1.347, allocations: 24.38 kB / 1.404 GB, free: 2.348 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009773/1.348, allocations: 250.4 kB / 1.404 GB, free: 2.129 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003761/1.352, allocations: 1.269 MB / 1.405 GB, free: 1.172 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/1.354, allocations: 0.7408 MB / 1.406 GB, free: 0.625 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001717/1.356, allocations: 1.078 MB / 1.407 GB, free: 8 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007768/1.357, allocations: 347 kB / 1.408 GB, free: 15.78 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/1.359, allocations: 0.861 MB / 1.408 GB, free: 15.27 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009349/1.36, allocations: 439 kB / 1.409 GB, free: 15.02 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/1.36, allocations: 37.12 kB / 1.409 GB, free: 15.02 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/1.363, allocations: 0.9493 MB / 1.41 GB, free: 14.49 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/1.363, allocations: 168.7 kB / 1.41 GB, free: 14.38 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004431/1.363, allocations: 239.5 kB / 1.41 GB, free: 14.23 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/1.365, allocations: 0.9442 MB / 1.411 GB, free: 13.65 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.365, allocations: 1.344 kB / 1.411 GB, free: 13.65 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.673e-06/1.365, allocations: 0 / 1.411 GB, free: 13.65 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.359e-05/1.365, allocations: 0 / 1.411 GB, free: 13.65 MB / 1.107 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.001521/1.367, allocations: 0.8172 MB / 1.412 GB, free: 12.95 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.367, allocations: 9.094 kB / 1.412 GB, free: 12.95 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/1.368, allocations: 156.9 kB / 1.412 GB, free: 12.88 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007333/1.369, allocations: 409.4 kB / 1.412 GB, free: 12.52 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/1.369, allocations: 29.28 kB / 1.412 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/1.369, allocations: 44.91 kB / 1.413 GB, free: 12.49 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008118/1.37, allocations: 454.1 kB / 1.413 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.37, allocations: 0 / 1.413 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/1.37, allocations: 16.25 kB / 1.413 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.37, allocations: 12.97 kB / 1.413 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/1.37, allocations: 321.3 kB / 1.413 GB, free: 12.03 MB / 1.107 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.002263/1.373, allocations: 2.01 MB / 1.415 GB, free: 10.19 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/1.373, allocations: 217.7 kB / 1.415 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/1.373, allocations: 147.5 kB / 1.416 GB, free: 9.992 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/1.374, allocations: 308 kB / 1.416 GB, free: 9.68 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.374, allocations: 37 kB / 1.416 GB, free: 9.637 MB / 1.107 GB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/1.374, allocations: 4 kB / 1.416 GB, free: 9.633 MB / 1.107 GB Notification: Performance of matching and sorting (n=24): time 0.001043/1.375, allocations: 455 kB / 1.416 GB, free: 9.406 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.375, allocations: 53.97 kB / 1.416 GB, free: 9.344 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/1.375, allocations: 400.8 kB / 1.417 GB, free: 9.102 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/1.375, allocations: 29.7 kB / 1.417 GB, free: 9.066 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/1.376, allocations: 238.2 kB / 1.417 GB, free: 8.855 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/1.376, allocations: 79.22 kB / 1.417 GB, free: 8.785 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.376, allocations: 61.36 kB / 1.417 GB, free: 8.742 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.376, allocations: 357.7 kB / 1.418 GB, free: 8.395 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/1.376, allocations: 109.9 kB / 1.418 GB, free: 8.344 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/1.376, allocations: 192.2 kB / 1.418 GB, free: 8.203 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/1.377, allocations: 305 kB / 1.418 GB, free: 8.008 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.377, allocations: 2.219 kB / 1.418 GB, free: 8.008 MB / 1.107 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006658/1.378, allocations: 366.5 kB / 1.418 GB, free: 7.816 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.378, allocations: 5.406 kB / 1.418 GB, free: 7.816 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.378, allocations: 3.594 kB / 1.418 GB, free: 7.816 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.378, allocations: 1.812 kB / 1.418 GB, free: 7.816 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/1.378, allocations: 62.03 kB / 1.419 GB, free: 7.801 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.378, allocations: 2.469 kB / 1.419 GB, free: 7.801 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/1.378, allocations: 39.78 kB / 1.419 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/1.378, allocations: 13.94 kB / 1.419 GB, free: 7.77 MB / 1.107 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.0001911/1.378, allocations: 173.5 kB / 1.419 GB, free: 7.613 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/1.379, allocations: 44.22 kB / 1.419 GB, free: 7.59 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/1.379, allocations: 364.7 kB / 1.419 GB, free: 7.383 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.379, allocations: 6.062 kB / 1.419 GB, free: 7.379 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.379, allocations: 0 / 1.419 GB, free: 7.379 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.379, allocations: 0 / 1.419 GB, free: 7.379 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.381, allocations: 0.9383 MB / 1.42 GB, free: 6.656 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.381, allocations: 2.25 kB / 1.42 GB, free: 6.656 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/1.381, allocations: 51.75 kB / 1.42 GB, free: 6.641 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.381, allocations: 7.688 kB / 1.42 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/1.381, allocations: 8.094 kB / 1.42 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/1.381, allocations: 3.656 kB / 1.42 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.381, allocations: 4.016 kB / 1.42 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/1.382, allocations: 0.6384 MB / 1.421 GB, free: 6.199 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/1.382, allocations: 147.9 kB / 1.421 GB, free: 6.059 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/1.382, allocations: 10.7 kB / 1.421 GB, free: 6.051 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/1.383, allocations: 8.875 kB / 1.421 GB, free: 6.047 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/1.383, allocations: 21.94 kB / 1.421 GB, free: 6.035 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/1.383, allocations: 8.812 kB / 1.421 GB, free: 6.035 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002892/1.383, allocations: 282.7 kB / 1.421 GB, free: 5.863 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.383, allocations: 3.938 kB / 1.421 GB, free: 5.859 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005502/1.384, allocations: 109.5 kB / 1.421 GB, free: 5.84 MB / 1.107 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.0005377/1.384, allocations: 179 kB / 1.421 GB, free: 5.703 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0006553/1.385, allocations: 277.2 kB / 1.422 GB, free: 5.578 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.385, allocations: 0 / 1.422 GB, free: 5.578 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/1.385, allocations: 151 kB / 1.422 GB, free: 5.508 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/1.386, allocations: 222.6 kB / 1.422 GB, free: 5.398 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/1.388, allocations: 0.8307 MB / 1.423 GB, free: 4.809 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/1.388, allocations: 0.8285 MB / 1.424 GB, free: 4.043 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003181/1.388, allocations: 100.1 kB / 1.424 GB, free: 4 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-05/1.389, allocations: 32.56 kB / 1.424 GB, free: 3.992 MB / 1.107 GB Notification: Performance of SimCode: time 5.71e-07/1.389, allocations: 0 / 1.424 GB, free: 3.992 MB / 1.107 GB Notification: Performance of Templates: time 0.01536/1.404, allocations: 7.701 MB / 1.431 GB, free: 12.93 MB / 1.123 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches