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.001508/0.001508, allocations: 80.69 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001561/0.001561, allocations: 169.1 kB / 22.46 MB, free: 5.371 MB / 14.72 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.477/1.477, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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.74/2.74, allocations: 359 MB / 0.6037 GB, free: 14.93 MB / 0.5762 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 2.124e-06/2.124e-06, allocations: 3.938 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.578e-05, allocations: 6.219 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.19/0.1901, allocations: 143.9 MB / 1.091 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006304/0.1964, allocations: 4.215 MB / 1.096 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004141/0.1968, allocations: 15.88 kB / 1.096 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.1973, allocations: 135 kB / 1.096 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.1989, allocations: 0.5752 MB / 1.096 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.201, allocations: 0.8279 MB / 1.097 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009111/0.2019, allocations: 0.5766 MB / 1.098 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.2023, allocations: 165.4 kB / 1.098 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.2035, allocations: 0.5333 MB / 1.098 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007126/0.2042, allocations: 291 kB / 1.099 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.2043, allocations: 24 kB / 1.099 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.2063, allocations: 0.8723 MB / 1.1 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.2064, allocations: 87.72 kB / 1.1 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.2066, allocations: 91.77 kB / 1.1 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.2077, allocations: 0.7323 MB / 1.1 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2077, allocations: 0 / 1.1 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2077, allocations: 4 kB / 1.1 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.2077, allocations: 0 / 1.1 GB, free: 1.953 MB / 0.9981 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.001037/0.2088, allocations: 0.5236 MB / 1.101 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2088, allocations: 16.03 kB / 1.101 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007154/0.2095, allocations: 79.69 kB / 1.101 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.21, allocations: 237.6 kB / 1.101 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.21, allocations: 15.94 kB / 1.101 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.2101, allocations: 20 kB / 1.101 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.2106, allocations: 287.5 kB / 1.102 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2106, allocations: 3.938 kB / 1.102 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.2106, allocations: 8 kB / 1.102 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2107, allocations: 4 kB / 1.102 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.2111, allocations: 201.4 kB / 1.102 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7308/0.9419, allocations: 1.102 MB / 1.103 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.9422, allocations: 172 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.9424, allocations: 106.3 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007315/0.9432, allocations: 102.9 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.9432, allocations: 42.03 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.9432, allocations: 1.062 kB / 1.103 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0009172/0.9441, allocations: 270.9 kB / 1.103 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.9442, allocations: 158.8 kB / 1.104 GB, free: 163 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.9444, allocations: 202.1 kB / 1.104 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.9444, allocations: 31.06 kB / 1.104 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.9445, allocations: 162.9 kB / 1.104 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.9446, allocations: 47.09 kB / 1.104 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.9447, allocations: 39.88 kB / 1.104 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.9448, allocations: 329.2 kB / 1.104 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.9449, allocations: 68.2 kB / 1.104 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.9452, allocations: 251.2 kB / 1.105 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.9456, allocations: 217.3 kB / 1.105 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9456, allocations: 1.141 kB / 1.105 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000538/0.9462, allocations: 241.2 kB / 1.105 GB, free: 162 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.9462, allocations: 5.594 kB / 1.105 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.9462, allocations: 2.625 kB / 1.105 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.9462, allocations: 6.75 kB / 1.105 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.9464, allocations: 43.64 kB / 1.105 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.9464, allocations: 4.688 kB / 1.105 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.9466, allocations: 28.75 kB / 1.105 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.9466, allocations: 10.02 kB / 1.105 GB, free: 162 MB / 0.9981 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.0001317/0.9468, allocations: 150.8 kB / 1.105 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.9469, allocations: 17.42 kB / 1.105 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.9474, allocations: 186.8 kB / 1.106 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.9474, allocations: 2.438 kB / 1.106 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9474, allocations: 2.344 kB / 1.106 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.9474, allocations: 3.359 kB / 1.106 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.9483, allocations: 0.7796 MB / 1.106 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.9484, allocations: 2.484 kB / 1.106 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.9485, allocations: 21.81 kB / 1.106 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.9485, allocations: 2.406 kB / 1.106 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.9485, allocations: 7.734 kB / 1.106 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.9485, allocations: 5.438 kB / 1.106 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9485, allocations: 3.125 kB / 1.106 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.9491, allocations: 333.7 kB / 1.107 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.9492, allocations: 25.38 kB / 1.107 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.9492, allocations: 7.734 kB / 1.107 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.9494, allocations: 8.016 kB / 1.107 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.9494, allocations: 12.53 kB / 1.107 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.9494, allocations: 6.125 kB / 1.107 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001713/0.9496, allocations: 181.2 kB / 1.107 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9496, allocations: 3.969 kB / 1.107 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005319/0.9501, allocations: 108.1 kB / 1.107 GB, free: 160.7 MB / 0.9981 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.000536/0.9507, allocations: 209.3 kB / 1.107 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.9511, allocations: 149.4 kB / 1.107 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9511, allocations: 0.8438 kB / 1.107 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.9513, allocations: 57.44 kB / 1.107 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.9519, allocations: 85.42 kB / 1.108 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/0.9527, allocations: 456.1 kB / 1.108 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.9529, allocations: 153.8 kB / 1.108 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.9531, allocations: 54.11 kB / 1.108 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.9531, allocations: 20.98 kB / 1.108 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.9531, allocations: 0 / 1.108 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01151/0.9646, allocations: 4.369 MB / 1.112 GB, free: 159.7 MB / 0.9981 GB " [Timeout remaining time 299] 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: 9.152426049113274]