Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001236/0.001236, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.001394/0.001394, allocations: 217.6 kB / 22.25 MB, free: 5.137 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.332/1.332, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.888/2.888, allocations: 0.49 GB / 0.7951 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_12_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.00191/0.00191, allocations: 67.34 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2931, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1899/0.483, allocations: 166.8 MB / 1.489 GB, free: 10.48 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006188/0.4892, allocations: 4.641 MB / 1.493 GB, free: 5.836 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003461/0.4895, allocations: 15.88 kB / 1.493 GB, free: 5.82 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.4899, allocations: 127 kB / 1.493 GB, free: 5.695 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.4913, allocations: 0.5718 MB / 1.494 GB, free: 5.121 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.4931, allocations: 0.8176 MB / 1.495 GB, free: 4.305 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007427/0.4938, allocations: 0.5846 MB / 1.495 GB, free: 3.719 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.4941, allocations: 169.4 kB / 1.496 GB, free: 3.547 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.4956, allocations: 0.6928 MB / 1.496 GB, free: 2.852 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.4961, allocations: 322.7 kB / 1.497 GB, free: 2.535 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.4962, allocations: 16 kB / 1.497 GB, free: 2.52 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.498, allocations: 1.114 MB / 1.498 GB, free: 1.402 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.4981, allocations: 87.73 kB / 1.498 GB, free: 1.316 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.4982, allocations: 123.4 kB / 1.498 GB, free: 1.195 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.4993, allocations: 0.7205 MB / 1.499 GB, free: 484 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4993, allocations: 0 / 1.499 GB, free: 484 kB / 1.186 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4993, allocations: 0 / 1.499 GB, free: 484 kB / 1.186 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.4993, allocations: 4 kB / 1.499 GB, free: 480 kB / 1.186 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.0009186/0.5002, allocations: 0.5314 MB / 1.499 GB, free: 15.9 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5002, allocations: 8.031 kB / 1.499 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.5003, allocations: 54.5 kB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006066/0.5009, allocations: 83.67 kB / 1.499 GB, free: 15.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.5013, allocations: 233.7 kB / 1.499 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.5013, allocations: 12 kB / 1.499 GB, free: 15.49 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.5014, allocations: 24 kB / 1.499 GB, free: 15.46 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.5019, allocations: 288.1 kB / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.5019, allocations: 0 / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.5019, allocations: 7.938 kB / 1.5 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5019, allocations: 7.938 kB / 1.5 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.5023, allocations: 211.5 kB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.5039, allocations: 1.21 MB / 1.501 GB, free: 13.65 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.5042, allocations: 172.9 kB / 1.501 GB, free: 13.43 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.5044, allocations: 108.2 kB / 1.501 GB, free: 13.31 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/0.505, allocations: 107.9 kB / 1.502 GB, free: 13.21 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.5051, allocations: 42.69 kB / 1.502 GB, free: 13.16 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.5051, allocations: 0 / 1.502 GB, free: 13.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0007931/0.5059, allocations: 277.6 kB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.506, allocations: 162.2 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.5063, allocations: 284.2 kB / 1.502 GB, free: 12.4 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.5063, allocations: 29.7 kB / 1.502 GB, free: 12.36 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.5065, allocations: 147.9 kB / 1.502 GB, free: 12.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.5065, allocations: 47.64 kB / 1.502 GB, free: 12.17 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.5066, allocations: 45.78 kB / 1.503 GB, free: 12.12 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.5067, allocations: 338.8 kB / 1.503 GB, free: 11.78 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.5069, allocations: 63.95 kB / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.5072, allocations: 150.2 kB / 1.503 GB, free: 11.54 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.5075, allocations: 215.5 kB / 1.503 GB, free: 11.3 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5075, allocations: 0 / 1.503 GB, free: 11.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004879/0.508, allocations: 249.4 kB / 1.504 GB, free: 11.05 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.508, allocations: 8 kB / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.508, allocations: 48 / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5081, allocations: 7.984 kB / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.5082, allocations: 39.97 kB / 1.504 GB, free: 11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.5083, allocations: 7.938 kB / 1.504 GB, free: 10.99 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.5084, allocations: 35.7 kB / 1.504 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.5085, allocations: 12 kB / 1.504 GB, free: 10.94 MB / 1.201 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.0001458/0.5086, allocations: 149.9 kB / 1.504 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.5087, allocations: 31.84 kB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.5092, allocations: 190.1 kB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5092, allocations: 0 / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.5092, allocations: 4 kB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5092, allocations: 3.938 kB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.5102, allocations: 0.8267 MB / 1.505 GB, free: 9.645 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5102, allocations: 0 / 1.505 GB, free: 9.645 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.5103, allocations: 23.92 kB / 1.505 GB, free: 9.621 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5103, allocations: 4 kB / 1.505 GB, free: 9.617 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5104, allocations: 8 kB / 1.505 GB, free: 9.609 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.5104, allocations: 7.875 kB / 1.505 GB, free: 9.602 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5104, allocations: 4 kB / 1.505 GB, free: 9.598 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.5109, allocations: 339.6 kB / 1.505 GB, free: 9.234 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.511, allocations: 43.94 kB / 1.505 GB, free: 9.191 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.511, allocations: 11.98 kB / 1.505 GB, free: 9.18 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.5112, allocations: 4 kB / 1.505 GB, free: 9.176 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5112, allocations: 11.98 kB / 1.505 GB, free: 9.164 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.5112, allocations: 4 kB / 1.505 GB, free: 9.16 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002397/0.5115, allocations: 235 kB / 1.505 GB, free: 8.934 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5115, allocations: 0 / 1.505 GB, free: 8.934 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004342/0.5119, allocations: 99.86 kB / 1.506 GB, free: 8.836 MB / 1.201 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.001137/0.513, allocations: 0.9739 MB / 1.506 GB, free: 7.82 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.5134, allocations: 143.9 kB / 1.507 GB, free: 7.68 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.5134, allocations: 4.188 kB / 1.507 GB, free: 7.676 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5136, allocations: 59.83 kB / 1.507 GB, free: 7.617 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.5143, allocations: 138.5 kB / 1.507 GB, free: 7.488 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.5177, allocations: 2.776 MB / 1.51 GB, free: 4.555 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.5181, allocations: 0.7597 MB / 1.51 GB, free: 3.77 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.5183, allocations: 66.88 kB / 1.51 GB, free: 3.703 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.5184, allocations: 75.41 kB / 1.51 GB, free: 3.629 MB / 1.201 GB Notification: Performance of SimCode: time 4.81e-07/0.5184, allocations: 0 / 1.51 GB, free: 3.629 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.5556, allocations: 8.779 MB / 1.519 GB, free: 11.05 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.84, allocations: 5.719 kB / 1.519 GB, free: 11.05 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.812467065872625]