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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 80.92 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 165.6 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.84/2.84, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.153e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8785/0.8785, allocations: 158.4 MB / 1.106 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.8892, allocations: 7.176 MB / 1.113 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008022/0.89, allocations: 27.66 kB / 1.113 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000881/0.8909, allocations: 257 kB / 1.113 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.8952, allocations: 1.264 MB / 1.114 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.8979, allocations: 0.7957 MB / 1.115 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.9001, allocations: 1.076 MB / 1.116 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007053/0.9008, allocations: 333.3 kB / 1.116 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.9042, allocations: 1 MB / 1.117 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008906/0.9051, allocations: 410.3 kB / 1.118 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.9052, allocations: 36.84 kB / 1.118 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.9075, allocations: 0.7986 MB / 1.119 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.9077, allocations: 180 kB / 1.119 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.908, allocations: 170 kB / 1.119 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.91, allocations: 0.9563 MB / 1.12 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.91, allocations: 0 / 1.12 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.91, allocations: 0.9688 kB / 1.12 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.91, allocations: 0.6562 kB / 1.12 GB, free: 12.25 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.001224/0.9112, allocations: 0.7391 MB / 1.12 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9113, allocations: 9.281 kB / 1.121 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000995/0.9123, allocations: 155.2 kB / 1.121 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.9129, allocations: 342 kB / 1.121 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.9129, allocations: 32.16 kB / 1.121 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.913, allocations: 41.23 kB / 1.121 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.9137, allocations: 450.1 kB / 1.121 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.9138, allocations: 2 kB / 1.121 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.9138, allocations: 13.88 kB / 1.121 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.9138, allocations: 10.38 kB / 1.122 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.9144, allocations: 318.6 kB / 1.122 GB, free: 11.47 MB / 0.9981 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.001784/0.9162, allocations: 1.397 MB / 1.123 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.9167, allocations: 232.6 kB / 1.123 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.9169, allocations: 141.6 kB / 1.124 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004971/0.9174, allocations: 77.11 kB / 1.124 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.9175, allocations: 36.78 kB / 1.124 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.9175, allocations: 1.281 kB / 1.124 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.0012/0.9187, allocations: 455.2 kB / 1.124 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.9187, allocations: 57.98 kB / 1.124 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.919, allocations: 280.9 kB / 1.124 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.919, allocations: 30.08 kB / 1.124 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.9192, allocations: 247 kB / 1.125 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.9193, allocations: 83.34 kB / 1.125 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.9194, allocations: 55.08 kB / 1.125 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.9194, allocations: 342.3 kB / 1.125 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.9197, allocations: 110.2 kB / 1.125 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.92, allocations: 256.9 kB / 1.125 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.9205, allocations: 308.2 kB / 1.126 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.9205, allocations: 1.125 kB / 1.126 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006442/0.9212, allocations: 357.6 kB / 1.126 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9212, allocations: 6.656 kB / 1.126 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.9212, allocations: 5.141 kB / 1.126 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.9212, allocations: 3.625 kB / 1.126 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.9215, allocations: 56.39 kB / 1.126 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.9215, allocations: 9.609 kB / 1.126 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.9217, allocations: 33.19 kB / 1.126 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.9218, allocations: 15.91 kB / 1.126 GB, free: 9.547 MB / 0.9981 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.000174/0.9219, allocations: 163.9 kB / 1.126 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.922, allocations: 31.56 kB / 1.126 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/0.9228, allocations: 365.6 kB / 1.127 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9228, allocations: 7.266 kB / 1.127 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.9228, allocations: 5.703 kB / 1.127 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9228, allocations: 0.7031 kB / 1.127 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.9241, allocations: 0.8298 MB / 1.128 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.9241, allocations: 2.766 kB / 1.128 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.9244, allocations: 50.55 kB / 1.128 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.9244, allocations: 4.578 kB / 1.128 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.9245, allocations: 8.469 kB / 1.128 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.9245, allocations: 4.766 kB / 1.128 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.9245, allocations: 5.281 kB / 1.128 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.9257, allocations: 0.619 MB / 1.128 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.9258, allocations: 61.56 kB / 1.128 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.9258, allocations: 9.547 kB / 1.128 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.926, allocations: 10.92 kB / 1.128 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.936e-05/0.9261, allocations: 26.25 kB / 1.128 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.9262, allocations: 14.36 kB / 1.128 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002246/0.9264, allocations: 198.4 kB / 1.129 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9264, allocations: 0.6875 kB / 1.129 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006614/0.927, allocations: 123.4 kB / 1.129 GB, free: 8.723 MB / 0.9981 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.0003691/0.9274, allocations: 153.8 kB / 1.129 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006923/0.9281, allocations: 278 kB / 1.129 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9281, allocations: 2.156 kB / 1.129 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.9284, allocations: 144 kB / 1.129 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.9293, allocations: 137.9 kB / 1.129 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.9307, allocations: 0.7613 MB / 1.13 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.931, allocations: 236.2 kB / 1.13 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002942/0.9313, allocations: 83.92 kB / 1.13 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.841e-05/0.9314, allocations: 31.47 kB / 1.13 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.9314, allocations: 0 / 1.13 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of Templates: time 0.0145/0.9459, allocations: 5.498 MB / 1.136 GB, free: 7.719 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.494052737951279]