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.001338/0.001338, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001644/0.001644, allocations: 214 kB / 22.25 MB, free: 4.859 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.927/2.927, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 69.2 kB / 1.117 GB, free: 40.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3662, allocations: 170 MB / 1.283 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.189/0.5552, allocations: 143.9 MB / 1.423 GB, free: 11.81 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006324/0.5615, allocations: 4.232 MB / 1.427 GB, free: 7.578 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.5619, allocations: 15.88 kB / 1.427 GB, free: 7.562 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005203/0.5624, allocations: 131.1 kB / 1.427 GB, free: 7.434 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.5641, allocations: 0.5601 MB / 1.428 GB, free: 6.871 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.5663, allocations: 0.8062 MB / 1.429 GB, free: 6.066 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008883/0.5672, allocations: 0.5846 MB / 1.429 GB, free: 5.477 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.5675, allocations: 169.3 kB / 1.429 GB, free: 5.312 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.5688, allocations: 482.2 kB / 1.43 GB, free: 4.84 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008437/0.5696, allocations: 302.3 kB / 1.43 GB, free: 4.547 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.181e-05/0.5697, allocations: 16 kB / 1.43 GB, free: 4.531 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.5717, allocations: 0.8531 MB / 1.431 GB, free: 3.676 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.5719, allocations: 99.7 kB / 1.431 GB, free: 3.578 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.5721, allocations: 99.53 kB / 1.431 GB, free: 3.48 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.5739, allocations: 0.6776 MB / 1.432 GB, free: 2.801 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5739, allocations: 3.938 kB / 1.432 GB, free: 2.797 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5739, allocations: 4 kB / 1.432 GB, free: 2.793 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.574, allocations: 0 / 1.432 GB, free: 2.793 MB / 1.123 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.001079/0.575, allocations: 0.5313 MB / 1.432 GB, free: 2.23 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5751, allocations: 8.031 kB / 1.432 GB, free: 2.223 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.957e-05/0.5751, allocations: 58.55 kB / 1.432 GB, free: 2.156 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007098/0.5759, allocations: 75.73 kB / 1.433 GB, free: 2.082 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.5764, allocations: 229.7 kB / 1.433 GB, free: 1.832 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.5764, allocations: 19.95 kB / 1.433 GB, free: 1.812 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.5765, allocations: 24 kB / 1.433 GB, free: 1.789 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.5771, allocations: 287.2 kB / 1.433 GB, free: 1.48 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5771, allocations: 0 / 1.433 GB, free: 1.48 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.5771, allocations: 15.94 kB / 1.433 GB, free: 1.465 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.5771, allocations: 4 kB / 1.433 GB, free: 1.461 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.5776, allocations: 199.7 kB / 1.433 GB, free: 1.266 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.5794, allocations: 1.167 MB / 1.434 GB, free: 28 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.5797, allocations: 173.1 kB / 1.435 GB, free: 15.81 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.58, allocations: 108.2 kB / 1.435 GB, free: 15.69 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006808/0.5806, allocations: 103.9 kB / 1.435 GB, free: 15.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.5807, allocations: 38.69 kB / 1.435 GB, free: 15.54 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.5807, allocations: 0 / 1.435 GB, free: 15.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0008134/0.5815, allocations: 285.5 kB / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.5816, allocations: 158.6 kB / 1.435 GB, free: 15.06 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.5819, allocations: 288.2 kB / 1.436 GB, free: 14.77 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.582, allocations: 25.7 kB / 1.436 GB, free: 14.74 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.5821, allocations: 147.9 kB / 1.436 GB, free: 14.59 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.5821, allocations: 55.56 kB / 1.436 GB, free: 14.54 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/0.5822, allocations: 45.66 kB / 1.436 GB, free: 14.48 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5824, allocations: 338.8 kB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.5826, allocations: 72.06 kB / 1.436 GB, free: 14.07 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.5829, allocations: 251.1 kB / 1.436 GB, free: 13.78 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.5833, allocations: 211.5 kB / 1.437 GB, free: 13.54 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5833, allocations: 0 / 1.437 GB, free: 13.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005638/0.5839, allocations: 245.2 kB / 1.437 GB, free: 13.3 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5839, allocations: 4 kB / 1.437 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5839, allocations: 4.25 kB / 1.437 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5839, allocations: 4 kB / 1.437 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.5841, allocations: 35.98 kB / 1.437 GB, free: 13.25 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.5841, allocations: 3.938 kB / 1.437 GB, free: 13.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.5844, allocations: 39.7 kB / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.5844, allocations: 8 kB / 1.437 GB, free: 13.2 MB / 1.139 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.0001598/0.5845, allocations: 149.8 kB / 1.437 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.5847, allocations: 23.86 kB / 1.437 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.5852, allocations: 197.8 kB / 1.437 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5852, allocations: 4 kB / 1.437 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5852, allocations: 0 / 1.437 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5852, allocations: 11.94 kB / 1.437 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.5864, allocations: 0.7916 MB / 1.438 GB, free: 11.93 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5864, allocations: 4 kB / 1.438 GB, free: 11.93 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.5865, allocations: 31.91 kB / 1.438 GB, free: 11.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.5865, allocations: 4 kB / 1.438 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.5865, allocations: 0 / 1.438 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.5865, allocations: 8.156 kB / 1.438 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5865, allocations: 3.938 kB / 1.438 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.5872, allocations: 339.4 kB / 1.438 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-05/0.5873, allocations: 39.81 kB / 1.438 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.5873, allocations: 7.938 kB / 1.439 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.5875, allocations: 7.984 kB / 1.439 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.5875, allocations: 11.98 kB / 1.439 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.5876, allocations: 8.062 kB / 1.439 GB, free: 11.45 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002823/0.5878, allocations: 235 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5878, allocations: 0 / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000548/0.5884, allocations: 95.88 kB / 1.439 GB, free: 11.12 MB / 1.139 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.001384/0.5898, allocations: 0.9893 MB / 1.44 GB, free: 10.09 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.5902, allocations: 143.8 kB / 1.44 GB, free: 9.949 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5902, allocations: 0 / 1.44 GB, free: 9.949 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.5904, allocations: 56.59 kB / 1.44 GB, free: 9.895 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007884/0.5912, allocations: 136.3 kB / 1.44 GB, free: 9.766 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.5951, allocations: 2.777 MB / 1.443 GB, free: 6.832 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.5953, allocations: 146.2 kB / 1.443 GB, free: 6.668 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002251/0.5955, allocations: 70.86 kB / 1.443 GB, free: 6.598 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.5956, allocations: 67.42 kB / 1.443 GB, free: 6.535 MB / 1.139 GB Notification: Performance of SimCode: time 9.01e-07/0.5956, allocations: 4 kB / 1.443 GB, free: 6.531 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/0.6372, allocations: 9.649 MB / 1.453 GB, free: 13.14 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.33, allocations: 7.312 kB / 1.453 GB, free: 13.14 MB / 1.154 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 19.191392722073942]