Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001913/0.001913, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002454/0.002454, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.28/3.28, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.291e-06/6.291e-06, allocations: 4 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/4.154e-05, allocations: 4.844 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2195/0.2195, allocations: 142.2 MB / 1.016 GB, free: 7.828 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007141/0.2266, allocations: 4.151 MB / 1.021 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.227, allocations: 15.88 kB / 1.021 GB, free: 3.648 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.2275, allocations: 127 kB / 1.021 GB, free: 3.523 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.2287, allocations: 354.1 kB / 1.021 GB, free: 3.176 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009725/0.2297, allocations: 299.2 kB / 1.021 GB, free: 2.883 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008807/0.2305, allocations: 0.5299 MB / 1.022 GB, free: 2.348 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.2309, allocations: 155.3 kB / 1.022 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.233, allocations: 0.7316 MB / 1.023 GB, free: 1.465 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.2333, allocations: 167.5 kB / 1.023 GB, free: 1.301 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.2334, allocations: 16 kB / 1.023 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.2336, allocations: 87.8 kB / 1.023 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.2338, allocations: 87.7 kB / 1.023 GB, free: 1.113 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.2339, allocations: 87.77 kB / 1.023 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0005276/0.2344, allocations: 303.1 kB / 1.023 GB, free: 0.7305 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2344, allocations: 3.938 kB / 1.023 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2344, allocations: 8 kB / 1.023 GB, free: 0.7188 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.2345, allocations: 0 / 1.023 GB, free: 0.7188 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009319/0.2354, allocations: 464.8 kB / 1.024 GB, free: 240 kB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2354, allocations: 8.031 kB / 1.024 GB, free: 232 kB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.2355, allocations: 43.75 kB / 1.024 GB, free: 188 kB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.236, allocations: 228.9 kB / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2361, allocations: 16 kB / 1.024 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.2361, allocations: 20 kB / 1.024 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.2366, allocations: 261.6 kB / 1.024 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2367, allocations: 3.938 kB / 1.024 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.2367, allocations: 12 kB / 1.024 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.2367, allocations: 4 kB / 1.024 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.2371, allocations: 151.5 kB / 1.025 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.2387, allocations: 1.239 MB / 1.026 GB, free: 14.13 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.239, allocations: 171.7 kB / 1.026 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.2393, allocations: 97.09 kB / 1.026 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.2396, allocations: 39.89 kB / 1.026 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.2397, allocations: 42.55 kB / 1.026 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.2397, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0007112/0.2404, allocations: 205.8 kB / 1.026 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.2405, allocations: 187.9 kB / 1.026 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.2408, allocations: 199.2 kB / 1.027 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.2408, allocations: 29.64 kB / 1.027 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.241, allocations: 160.1 kB / 1.027 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.241, allocations: 35.69 kB / 1.027 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.2411, allocations: 41.7 kB / 1.027 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.2413, allocations: 322.8 kB / 1.027 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2415, allocations: 52.11 kB / 1.027 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.2418, allocations: 217.3 kB / 1.027 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.2421, allocations: 166.7 kB / 1.028 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2421, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000449/0.2426, allocations: 181.6 kB / 1.028 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2426, allocations: 8 kB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2426, allocations: 64 / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.2426, allocations: 8 kB / 1.028 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2428, allocations: 40.12 kB / 1.028 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2428, allocations: 7.938 kB / 1.028 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.2429, allocations: 23.88 kB / 1.028 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.243, allocations: 4 kB / 1.028 GB, free: 11.69 MB / 0.9948 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 (15): * Single equations (assignments): 15 * 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.0001645/0.2431, allocations: 145.8 kB / 1.028 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.2433, allocations: 15.91 kB / 1.028 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.2436, allocations: 126.7 kB / 1.028 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2436, allocations: 8 kB / 1.028 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.2436, allocations: 7.938 kB / 1.028 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2437, allocations: 3.984 kB / 1.028 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/0.2446, allocations: 0.6908 MB / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.2447, allocations: 7.938 kB / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.2448, allocations: 23.92 kB / 1.029 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.2448, allocations: 4 kB / 1.029 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.2448, allocations: 4 kB / 1.029 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2448, allocations: 8.156 kB / 1.029 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.2448, allocations: 3.984 kB / 1.029 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.2457, allocations: 327.5 kB / 1.029 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.2457, allocations: 27.86 kB / 1.029 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.2458, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2459, allocations: 11.98 kB / 1.029 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.2459, allocations: 11.92 kB / 1.029 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2459, allocations: 16.06 kB / 1.029 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000164/0.2461, allocations: 148.4 kB / 1.029 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2461, allocations: 0 / 1.029 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003954/0.2465, allocations: 67.77 kB / 1.029 GB, free: 9.941 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.000249/0.2468, allocations: 125.2 kB / 1.03 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.2471, allocations: 116.2 kB / 1.03 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2472, allocations: 4.062 kB / 1.03 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.2473, allocations: 59.84 kB / 1.03 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.2478, allocations: 59.91 kB / 1.03 GB, free: 9.578 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.2487, allocations: 441.5 kB / 1.03 GB, free: 9.105 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.2489, allocations: 149.2 kB / 1.03 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.249, allocations: 37.7 kB / 1.03 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.2491, allocations: 20.5 kB / 1.03 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/0.2491, allocations: 0 / 1.03 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of Templates: time 0.007187/0.2563, allocations: 2.596 MB / 1.033 GB, free: 6.359 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.585582742001861]