Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.00181/0.00181, allocations: 84.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.002244/0.002244, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.496/1.496, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.19/3.19, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.25e-05, allocations: 5.984 kB / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2118/0.2118, allocations: 143.9 MB / 1.018 GB, free: 6.07 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006994/0.2188, allocations: 4.19 MB / 1.022 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.2191, allocations: 15.88 kB / 1.022 GB, free: 1.852 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.2196, allocations: 135 kB / 1.022 GB, free: 1.719 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.2212, allocations: 0.5752 MB / 1.023 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.2232, allocations: 0.8133 MB / 1.024 GB, free: 332 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008022/0.224, allocations: 0.5494 MB / 1.024 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.2244, allocations: 153.5 kB / 1.024 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.2261, allocations: 0.7394 MB / 1.025 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.2267, allocations: 279.2 kB / 1.025 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.2268, allocations: 20 kB / 1.025 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.2285, allocations: 0.8761 MB / 1.026 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.2288, allocations: 91.72 kB / 1.026 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.2289, allocations: 83.83 kB / 1.026 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.2302, allocations: 0.7283 MB / 1.027 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.2302, allocations: 8 kB / 1.027 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2302, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2302, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001051/0.2313, allocations: 0.5197 MB / 1.028 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2313, allocations: 8.031 kB / 1.028 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007787/0.2321, allocations: 119.4 kB / 1.028 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.2326, allocations: 228.8 kB / 1.028 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.2326, allocations: 16 kB / 1.028 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.2326, allocations: 27.98 kB / 1.028 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.2332, allocations: 284.1 kB / 1.028 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2332, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.2333, allocations: 8 kB / 1.028 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.2333, allocations: 7.984 kB / 1.028 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.2338, allocations: 203.7 kB / 1.028 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.2358, allocations: 1.109 MB / 1.03 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.2362, allocations: 180.8 kB / 1.03 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.2364, allocations: 104.2 kB / 1.03 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007116/0.2371, allocations: 103.9 kB / 1.03 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.2372, allocations: 46.62 kB / 1.03 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2372, allocations: 0 / 1.03 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0009037/0.2381, allocations: 281.2 kB / 1.03 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.2382, allocations: 162.2 kB / 1.03 GB, free: 9.168 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.2385, allocations: 199.1 kB / 1.031 GB, free: 8.961 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.2385, allocations: 25.7 kB / 1.031 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.2387, allocations: 156.4 kB / 1.031 GB, free: 8.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.2387, allocations: 51.58 kB / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-05/0.2388, allocations: 42.16 kB / 1.031 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.239, allocations: 330.8 kB / 1.031 GB, free: 8.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.2392, allocations: 71.94 kB / 1.031 GB, free: 8.27 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.2396, allocations: 253.8 kB / 1.031 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.24, allocations: 207.5 kB / 1.032 GB, free: 7.738 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.24, allocations: 7.922 kB / 1.032 GB, free: 7.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006205/0.2407, allocations: 245.2 kB / 1.032 GB, free: 7.484 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2407, allocations: 12.25 kB / 1.032 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2407, allocations: 0 / 1.032 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.2407, allocations: 4 kB / 1.032 GB, free: 7.469 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.2409, allocations: 43.91 kB / 1.032 GB, free: 7.426 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.2409, allocations: 4 kB / 1.032 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2411, allocations: 15.94 kB / 1.032 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.2411, allocations: 16 kB / 1.032 GB, free: 7.391 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001912/0.2413, allocations: 145.7 kB / 1.032 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.2415, allocations: 31.78 kB / 1.032 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.242, allocations: 185.5 kB / 1.032 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.242, allocations: 4 kB / 1.032 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2421, allocations: 4 kB / 1.032 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2421, allocations: 0 / 1.032 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.2435, allocations: 0.7765 MB / 1.033 GB, free: 6.176 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2435, allocations: 0 / 1.033 GB, free: 6.176 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.2436, allocations: 23.98 kB / 1.033 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2436, allocations: 0 / 1.033 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2436, allocations: 12.28 kB / 1.033 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.2436, allocations: 8.016 kB / 1.033 GB, free: 6.133 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.2436, allocations: 7.984 kB / 1.033 GB, free: 6.125 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.2443, allocations: 335.5 kB / 1.034 GB, free: 5.766 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.2444, allocations: 23.89 kB / 1.034 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2444, allocations: 4 kB / 1.034 GB, free: 5.738 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2446, allocations: 7.984 kB / 1.034 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.2446, allocations: 19.98 kB / 1.034 GB, free: 5.711 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.2446, allocations: 4 kB / 1.034 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002023/0.2448, allocations: 172.1 kB / 1.034 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2448, allocations: 0 / 1.034 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005358/0.2454, allocations: 115.6 kB / 1.034 GB, free: 5.426 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.0005005/0.2459, allocations: 207.1 kB / 1.034 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004592/0.2463, allocations: 147.8 kB / 1.034 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2463, allocations: 0 / 1.034 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.2465, allocations: 55.91 kB / 1.034 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000594/0.2471, allocations: 69.89 kB / 1.034 GB, free: 4.949 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009584/0.2481, allocations: 465.4 kB / 1.035 GB, free: 4.449 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.2482, allocations: 145.8 kB / 1.035 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.2484, allocations: 53.53 kB / 1.035 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.2485, allocations: 24.5 kB / 1.035 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of SimCode: time 7.81e-07/0.2485, allocations: 0 / 1.035 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of Templates: time 0.01065/0.2591, allocations: 4.327 MB / 1.039 GB, free: 15.97 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.647220259997994]