Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002097/0.002097, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002647/0.002647, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.51/1.51, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.995/2.995, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.47e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2097/0.2097, allocations: 143.9 MB / 0.9269 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.007305/0.217, allocations: 4.218 MB / 0.931 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.2174, allocations: 19.81 kB / 0.931 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.2181, allocations: 127 kB / 0.9311 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.2203, allocations: 0.5791 MB / 0.9317 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.2228, allocations: 0.8366 MB / 0.9325 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009923/0.2238, allocations: 0.5766 MB / 0.9331 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.2243, allocations: 165.6 kB / 0.9332 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.2259, allocations: 0.541 MB / 0.9338 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000944/0.2268, allocations: 287.1 kB / 0.9341 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.712e-05/0.2269, allocations: 20 kB / 0.9341 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.229, allocations: 0.8645 MB / 0.9349 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.2291, allocations: 91.7 kB / 0.935 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.2293, allocations: 87.83 kB / 0.9351 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.231, allocations: 0.7244 MB / 0.9358 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.231, allocations: 0 / 0.9358 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/0.231, allocations: 0 / 0.9358 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.231, allocations: 4 kB / 0.9358 GB, free: 3.301 MB / 0.8855 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.001198/0.2322, allocations: 0.5314 MB / 0.9363 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2323, allocations: 8.031 kB / 0.9363 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007978/0.2331, allocations: 127.3 kB / 0.9364 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.2336, allocations: 249.7 kB / 0.9367 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.2336, allocations: 12 kB / 0.9367 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.2336, allocations: 24 kB / 0.9367 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.2342, allocations: 279.4 kB / 0.937 GB, free: 2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2342, allocations: 0 / 0.937 GB, free: 2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.2342, allocations: 8 kB / 0.937 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.2342, allocations: 7.984 kB / 0.937 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.2347, allocations: 203.8 kB / 0.9372 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.2365, allocations: 1.113 MB / 0.9383 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.2368, allocations: 172.9 kB / 0.9384 GB, free: 404 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.2371, allocations: 116.4 kB / 0.9386 GB, free: 272 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006988/0.2378, allocations: 103.9 kB / 0.9387 GB, free: 168 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.2378, allocations: 38.56 kB / 0.9387 GB, free: 120 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2378, allocations: 0 / 0.9387 GB, free: 120 kB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0008763/0.2387, allocations: 281.3 kB / 0.939 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.2388, allocations: 158.2 kB / 0.9391 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.239, allocations: 207.2 kB / 0.9393 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.2391, allocations: 29.7 kB / 0.9393 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2392, allocations: 156.4 kB / 0.9395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.2393, allocations: 48.05 kB / 0.9395 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.2394, allocations: 45.7 kB / 0.9396 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2395, allocations: 330.8 kB / 0.9399 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.2397, allocations: 67.94 kB / 0.94 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2401, allocations: 247.2 kB / 0.9402 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.2405, allocations: 215.5 kB / 0.9404 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.2405, allocations: 3.938 kB / 0.9404 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005894/0.2411, allocations: 253.3 kB / 0.9406 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2411, allocations: 12.06 kB / 0.9407 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2411, allocations: 0 / 0.9407 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.2412, allocations: 7.938 kB / 0.9407 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.2414, allocations: 31.98 kB / 0.9407 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2414, allocations: 4 kB / 0.9407 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2416, allocations: 19.94 kB / 0.9407 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.2416, allocations: 15.98 kB / 0.9407 GB, free: 13.86 MB / 0.9011 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.0001693/0.2418, allocations: 153.6 kB / 0.9409 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.2419, allocations: 35.8 kB / 0.9409 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.2425, allocations: 177.5 kB / 0.9411 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2425, allocations: 4 kB / 0.9411 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.2425, allocations: 4 kB / 0.9411 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2425, allocations: 3.984 kB / 0.9411 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.2436, allocations: 0.7726 MB / 0.9418 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2436, allocations: 4 kB / 0.9418 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2437, allocations: 19.98 kB / 0.9419 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2437, allocations: 8.156 kB / 0.9419 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2437, allocations: 4 kB / 0.9419 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2438, allocations: 7.938 kB / 0.9419 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2438, allocations: 0 / 0.9419 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/0.2445, allocations: 347.8 kB / 0.9422 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.2446, allocations: 23.92 kB / 0.9422 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.2446, allocations: 8 kB / 0.9422 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.2448, allocations: 12.05 kB / 0.9423 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.2448, allocations: 19.92 kB / 0.9423 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.2448, allocations: 4 kB / 0.9423 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002034/0.245, allocations: 173.2 kB / 0.9424 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.1e-08/0.245, allocations: 0 / 0.9424 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005058/0.2455, allocations: 107.7 kB / 0.9426 GB, free: 11.88 MB / 0.9011 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.0004911/0.246, allocations: 215 kB / 0.9428 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004321/0.2464, allocations: 143.8 kB / 0.9429 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2464, allocations: 0 / 0.9429 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.2466, allocations: 56.72 kB / 0.9429 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.2472, allocations: 80.3 kB / 0.943 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009743/0.2482, allocations: 473.2 kB / 0.9435 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.2484, allocations: 154.2 kB / 0.9436 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002029/0.2486, allocations: 57.84 kB / 0.9437 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.2487, allocations: 20.5 kB / 0.9437 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of SimCode: time 5.81e-07/0.2487, allocations: 0 / 0.9437 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of Templates: time 0.0111/0.2598, allocations: 4.469 MB / 0.9481 GB, free: 6.262 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.382125281030312]