Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002024/0.002024, allocations: 88.39 kB / 20.23 MB, free: 4.168 MB / 18.57 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.002449/0.002449, allocations: 161.3 kB / 23.55 MB, free: 0.8594 MB / 18.57 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.56/1.56, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.903/2.903, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.787e-05, allocations: 6.797 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2459/0.2459, allocations: 158.4 MB / 0.9655 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.2592, allocations: 7.165 MB / 0.9725 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007785/0.2599, allocations: 31.75 kB / 0.9726 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.2609, allocations: 254 kB / 0.9728 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004157/0.2651, allocations: 1.259 MB / 0.974 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.2678, allocations: 0.7943 MB / 0.9748 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.2701, allocations: 1.068 MB / 0.9759 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008157/0.2709, allocations: 338 kB / 0.9762 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.2751, allocations: 1.191 MB / 0.9773 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009882/0.2761, allocations: 387 kB / 0.9777 GB, free: 6.676 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.2762, allocations: 36 kB / 0.9777 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.2782, allocations: 0.7906 MB / 0.9785 GB, free: 5.848 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.2785, allocations: 179.4 kB / 0.9787 GB, free: 5.672 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.2789, allocations: 167.6 kB / 0.9789 GB, free: 5.508 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.2812, allocations: 0.9542 MB / 0.9798 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2812, allocations: 0 / 0.9798 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2812, allocations: 0 / 0.9798 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.2812, allocations: 0 / 0.9798 GB, free: 4.551 MB / 0.9323 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.001547/0.2828, allocations: 0.7419 MB / 0.9805 GB, free: 3.777 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2828, allocations: 12.03 kB / 0.9805 GB, free: 3.766 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.284, allocations: 207.2 kB / 0.9807 GB, free: 3.562 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007496/0.2847, allocations: 364.4 kB / 0.9811 GB, free: 3.18 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.2848, allocations: 29 kB / 0.9811 GB, free: 3.152 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.2849, allocations: 40 kB / 0.9811 GB, free: 3.113 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.2858, allocations: 446.4 kB / 0.9816 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2858, allocations: 0 / 0.9816 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.2858, allocations: 16 kB / 0.9816 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2858, allocations: 12 kB / 0.9816 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.2866, allocations: 323.7 kB / 0.9819 GB, free: 2.309 MB / 0.9323 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.002667/0.2893, allocations: 1.415 MB / 0.9833 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.2897, allocations: 226.5 kB / 0.9835 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.2901, allocations: 132.8 kB / 0.9836 GB, free: 484 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005179/0.2906, allocations: 83.84 kB / 0.9837 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.2906, allocations: 30.56 kB / 0.9837 GB, free: 360 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.2906, allocations: 4 kB / 0.9837 GB, free: 356 kB / 0.9323 GB Notification: Performance of matching and sorting (n=24): time 0.001224/0.2919, allocations: 460.2 kB / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.2919, allocations: 55.41 kB / 0.9842 GB, free: 15.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.2923, allocations: 280.5 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2923, allocations: 29.7 kB / 0.9845 GB, free: 15.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.2925, allocations: 248.2 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.722e-05/0.2926, allocations: 87.25 kB / 0.9848 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2927, allocations: 61.66 kB / 0.9849 GB, free: 15.12 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.2929, allocations: 342.8 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.2933, allocations: 111.9 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.2937, allocations: 260.4 kB / 0.9856 GB, free: 14.37 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/0.2943, allocations: 313.1 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2943, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007778/0.2951, allocations: 376.9 kB / 0.9862 GB, free: 13.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2951, allocations: 12.22 kB / 0.9862 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2952, allocations: 0 / 0.9862 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.2952, allocations: 4 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.2955, allocations: 55.91 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2955, allocations: 4 kB / 0.9863 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.2957, allocations: 27.83 kB / 0.9863 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.2957, allocations: 16 kB / 0.9864 GB, free: 13.55 MB / 0.948 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.0002242/0.296, allocations: 165.8 kB / 0.9865 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.2961, allocations: 43.75 kB / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000829/0.2969, allocations: 361.4 kB / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2969, allocations: 7.984 kB / 0.9869 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2969, allocations: 0 / 0.9869 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2969, allocations: 3.984 kB / 0.9869 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.2985, allocations: 0.8275 MB / 0.9877 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2985, allocations: 4 kB / 0.9877 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.2987, allocations: 47.92 kB / 0.9878 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.2988, allocations: 4 kB / 0.9878 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.2988, allocations: 7.984 kB / 0.9878 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.2988, allocations: 4 kB / 0.9878 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2988, allocations: 3.938 kB / 0.9878 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.2999, allocations: 0.6319 MB / 0.9884 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.3001, allocations: 55.77 kB / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.3001, allocations: 11.98 kB / 0.9885 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.3003, allocations: 16 kB / 0.9885 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.3004, allocations: 27.75 kB / 0.9885 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.3004, allocations: 12 kB / 0.9885 GB, free: 11.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004791/0.3009, allocations: 199.1 kB / 0.9887 GB, free: 11.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.3009, allocations: 0 / 0.9887 GB, free: 11.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005238/0.3014, allocations: 119.7 kB / 0.9888 GB, free: 10.9 MB / 0.948 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.0003386/0.3018, allocations: 159.1 kB / 0.989 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006718/0.3024, allocations: 275.6 kB / 0.9892 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3024, allocations: 0 / 0.9892 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.3028, allocations: 144.7 kB / 0.9894 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/0.3036, allocations: 149.5 kB / 0.9895 GB, free: 10.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3051, allocations: 0.7755 MB / 0.9903 GB, free: 9.355 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3054, allocations: 223.1 kB / 0.9905 GB, free: 9.117 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002851/0.3057, allocations: 82.91 kB / 0.9906 GB, free: 9.039 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3058, allocations: 32.5 kB / 0.9906 GB, free: 9.008 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.3058, allocations: 0 / 0.9906 GB, free: 9.008 MB / 0.948 GB Notification: Performance of Templates: time 0.01297/0.3187, allocations: 5.577 MB / 0.996 GB, free: 3.594 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.729726597084664]