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.002307/0.002307, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002198/0.002198, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 3.167/3.167, allocations: 377.8 MB / 0.6232 GB, free: 8.551 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.704e-06/1.704e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.154e-05, allocations: 9.469 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2601/0.2602, allocations: 176 MB / 0.9828 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.2724, allocations: 8.064 MB / 0.9906 GB, free: 9.395 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.2731, allocations: 31.75 kB / 0.9907 GB, free: 9.363 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009096/0.274, allocations: 254.1 kB / 0.9909 GB, free: 9.113 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.2779, allocations: 1.247 MB / 0.9921 GB, free: 7.859 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.2801, allocations: 0.7981 MB / 0.9929 GB, free: 7.059 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.2818, allocations: 1.068 MB / 0.9939 GB, free: 5.988 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006344/0.2824, allocations: 334.1 kB / 0.9943 GB, free: 5.664 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.286, allocations: 1.199 MB / 0.9954 GB, free: 4.5 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.2868, allocations: 383 kB / 0.9958 GB, free: 4.125 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.2869, allocations: 43.98 kB / 0.9958 GB, free: 4.082 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.2887, allocations: 0.7944 MB / 0.9966 GB, free: 3.285 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.2889, allocations: 179.5 kB / 0.9968 GB, free: 3.109 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.2892, allocations: 167.6 kB / 0.9969 GB, free: 2.945 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.2909, allocations: 0.9619 MB / 0.9979 GB, free: 1.98 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2909, allocations: 0 / 0.9979 GB, free: 1.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2909, allocations: 0 / 0.9979 GB, free: 1.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.2909, allocations: 0 / 0.9979 GB, free: 1.98 MB / 0.948 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.001368/0.2922, allocations: 0.861 MB / 0.9987 GB, free: 1.082 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2923, allocations: 12.03 kB / 0.9987 GB, free: 1.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.2933, allocations: 207.2 kB / 0.9989 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008345/0.2941, allocations: 359.2 kB / 0.9993 GB, free: 500 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.2942, allocations: 29 kB / 0.9993 GB, free: 472 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.2942, allocations: 36 kB / 0.9993 GB, free: 436 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007997/0.295, allocations: 422.2 kB / 0.9997 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.295, allocations: 4 kB / 0.9997 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.2951, allocations: 16 kB / 0.9998 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.2951, allocations: 12 kB / 0.9998 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005748/0.2957, allocations: 235.8 kB / 1 GB, free: 15.72 MB / 0.9636 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.002527/0.2982, allocations: 1.786 MB / 1.002 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.2986, allocations: 187 kB / 1.002 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.2988, allocations: 99.64 kB / 1.002 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004779/0.2993, allocations: 75.86 kB / 1.002 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.2993, allocations: 37.39 kB / 1.002 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=24): time 1.313e-06/0.2993, allocations: 0 / 1.002 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24): time 0.001092/0.3004, allocations: 368.5 kB / 1.002 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3005, allocations: 51.41 kB / 1.003 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.3009, allocations: 374.3 kB / 1.003 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.3009, allocations: 33.7 kB / 1.003 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.3012, allocations: 299 kB / 1.003 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.752e-05/0.3013, allocations: 91.22 kB / 1.003 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3014, allocations: 63.36 kB / 1.003 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003107/0.3017, allocations: 0.5313 MB / 1.004 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3019, allocations: 75.95 kB / 1.004 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.3022, allocations: 251.5 kB / 1.004 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.3027, allocations: 271.2 kB / 1.004 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3027, allocations: 0 / 1.004 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006125/0.3034, allocations: 309.2 kB / 1.005 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3034, allocations: 12.03 kB / 1.005 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3034, allocations: 0 / 1.005 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3034, allocations: 4 kB / 1.005 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.3037, allocations: 59.91 kB / 1.005 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3037, allocations: 4 kB / 1.005 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.3039, allocations: 23.88 kB / 1.005 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.3039, allocations: 12 kB / 1.005 GB, free: 10.51 MB / 0.9636 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.0002253/0.3041, allocations: 196.5 kB / 1.005 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.3042, allocations: 43.7 kB / 1.005 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.3049, allocations: 309.8 kB / 1.005 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3049, allocations: 0 / 1.005 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3049, allocations: 3.938 kB / 1.005 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3049, allocations: 0 / 1.005 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.3068, allocations: 0.8641 MB / 1.006 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3068, allocations: 4.219 kB / 1.006 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.307, allocations: 43.92 kB / 1.006 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.307, allocations: 4 kB / 1.006 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.307, allocations: 8 kB / 1.006 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.307, allocations: 3.984 kB / 1.006 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.307, allocations: 7.938 kB / 1.006 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.308, allocations: 0.5896 MB / 1.007 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3081, allocations: 59.75 kB / 1.007 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.3082, allocations: 8.031 kB / 1.007 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3084, allocations: 11.98 kB / 1.007 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.3084, allocations: 35.75 kB / 1.007 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.3085, allocations: 8 kB / 1.007 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002445/0.3087, allocations: 247 kB / 1.007 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.3087, allocations: 0 / 1.007 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005098/0.3092, allocations: 131.7 kB / 1.007 GB, free: 7.816 MB / 0.9636 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.0003253/0.3095, allocations: 151.1 kB / 1.007 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.3101, allocations: 232 kB / 1.008 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3101, allocations: 4 kB / 1.008 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.3103, allocations: 127.5 kB / 1.008 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.3111, allocations: 139.1 kB / 1.008 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3126, allocations: 0.7653 MB / 1.009 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3128, allocations: 215.1 kB / 1.009 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.3131, allocations: 70.92 kB / 1.009 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.3132, allocations: 36.5 kB / 1.009 GB, free: 6 MB / 0.9636 GB Notification: Performance of SimCode: time 9.62e-07/0.3132, allocations: 0 / 1.009 GB, free: 6 MB / 0.9636 GB Notification: Performance of Templates: time 0.01318/0.3263, allocations: 5.587 MB / 1.014 GB, free: 0.5742 MB / 0.9636 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] 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: 9.00187412602827]