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.00141/0.00141, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001593/0.001593, allocations: 215.3 kB / 22.25 MB, free: 5.086 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.308/1.308, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] 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 2.902/2.902, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_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.001879/0.001879, allocations: 64.11 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2977, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1829/0.4806, allocations: 166.8 MB / 1.516 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006389/0.487, allocations: 4.652 MB / 1.52 GB, free: 12.34 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.4874, allocations: 15.88 kB / 1.52 GB, free: 12.32 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.4879, allocations: 119.1 kB / 1.52 GB, free: 12.2 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.4895, allocations: 0.5757 MB / 1.521 GB, free: 11.62 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.4915, allocations: 0.816 MB / 1.522 GB, free: 10.81 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008585/0.4924, allocations: 0.5846 MB / 1.522 GB, free: 10.22 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.4928, allocations: 177.4 kB / 1.523 GB, free: 10.05 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.4943, allocations: 0.6927 MB / 1.523 GB, free: 9.355 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006316/0.4949, allocations: 310.9 kB / 1.524 GB, free: 9.051 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.495, allocations: 16 kB / 1.524 GB, free: 9.035 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.4969, allocations: 1.107 MB / 1.525 GB, free: 7.926 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.497, allocations: 95.7 kB / 1.525 GB, free: 7.832 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.4972, allocations: 127.3 kB / 1.525 GB, free: 7.707 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.4984, allocations: 0.7205 MB / 1.526 GB, free: 6.984 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4984, allocations: 4 kB / 1.526 GB, free: 6.98 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4984, allocations: 4 kB / 1.526 GB, free: 6.977 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.4984, allocations: 0 / 1.526 GB, free: 6.977 MB / 1.217 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.0009515/0.4994, allocations: 0.5313 MB / 1.526 GB, free: 6.414 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4994, allocations: 8.031 kB / 1.526 GB, free: 6.406 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.4995, allocations: 58.48 kB / 1.526 GB, free: 6.34 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006167/0.5001, allocations: 79.69 kB / 1.526 GB, free: 6.262 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.5005, allocations: 241.6 kB / 1.526 GB, free: 6 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.5005, allocations: 12 kB / 1.526 GB, free: 5.988 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.5006, allocations: 24 kB / 1.526 GB, free: 5.965 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.5011, allocations: 284.1 kB / 1.527 GB, free: 5.66 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.5011, allocations: 0 / 1.527 GB, free: 5.66 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.5011, allocations: 7.938 kB / 1.527 GB, free: 5.652 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.5011, allocations: 8 kB / 1.527 GB, free: 5.645 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.5016, allocations: 203.7 kB / 1.527 GB, free: 5.445 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.5032, allocations: 1.209 MB / 1.528 GB, free: 4.164 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.5035, allocations: 173 kB / 1.528 GB, free: 3.949 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.5037, allocations: 108.4 kB / 1.528 GB, free: 3.828 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/0.5043, allocations: 103.9 kB / 1.528 GB, free: 3.727 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.5044, allocations: 38.56 kB / 1.529 GB, free: 3.68 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.5044, allocations: 3.938 kB / 1.529 GB, free: 3.676 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0007381/0.5051, allocations: 281.2 kB / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.5052, allocations: 166.1 kB / 1.529 GB, free: 3.195 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.5055, allocations: 280.2 kB / 1.529 GB, free: 2.91 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.5055, allocations: 30.2 kB / 1.529 GB, free: 2.875 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.5056, allocations: 151.9 kB / 1.529 GB, free: 2.723 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.5057, allocations: 51.59 kB / 1.529 GB, free: 2.672 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.5058, allocations: 37.7 kB / 1.529 GB, free: 2.629 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5059, allocations: 342.7 kB / 1.53 GB, free: 2.285 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.5061, allocations: 67.94 kB / 1.53 GB, free: 2.219 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.5063, allocations: 149.8 kB / 1.53 GB, free: 2.043 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.5067, allocations: 203.5 kB / 1.53 GB, free: 1.816 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5067, allocations: 0 / 1.53 GB, free: 1.816 MB / 1.217 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005014/0.5072, allocations: 253.3 kB / 1.53 GB, free: 1.562 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.5072, allocations: 4 kB / 1.53 GB, free: 1.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5072, allocations: 4 kB / 1.53 GB, free: 1.555 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5072, allocations: 0 / 1.53 GB, free: 1.555 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.5074, allocations: 47.91 kB / 1.531 GB, free: 1.508 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5074, allocations: 0 / 1.531 GB, free: 1.508 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.5076, allocations: 39.7 kB / 1.531 GB, free: 1.469 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.5076, allocations: 12.19 kB / 1.531 GB, free: 1.457 MB / 1.217 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.0001489/0.5077, allocations: 153.8 kB / 1.531 GB, free: 1.297 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.5079, allocations: 23.86 kB / 1.531 GB, free: 1.273 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.5083, allocations: 182.2 kB / 1.531 GB, free: 1.074 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5083, allocations: 4 kB / 1.531 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5083, allocations: 0 / 1.531 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5083, allocations: 7.875 kB / 1.531 GB, free: 1.062 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.5094, allocations: 0.8267 MB / 1.532 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5094, allocations: 0 / 1.532 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.5095, allocations: 31.86 kB / 1.532 GB, free: 140 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5095, allocations: 0 / 1.532 GB, free: 140 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.5095, allocations: 8 kB / 1.532 GB, free: 132 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5095, allocations: 0 / 1.532 GB, free: 132 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5095, allocations: 8.156 kB / 1.532 GB, free: 124 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.5101, allocations: 335.5 kB / 1.532 GB, free: 15.76 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 8.361e-05/0.5101, allocations: 43.81 kB / 1.532 GB, free: 15.72 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.5102, allocations: 4 kB / 1.532 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.5103, allocations: 7.984 kB / 1.532 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.5104, allocations: 15.92 kB / 1.532 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.5104, allocations: 4.125 kB / 1.532 GB, free: 15.69 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002433/0.5106, allocations: 235 kB / 1.532 GB, free: 15.46 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5106, allocations: 4.062 kB / 1.532 GB, free: 15.45 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004241/0.511, allocations: 103.7 kB / 1.532 GB, free: 15.35 MB / 1.232 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.001107/0.5122, allocations: 0.9758 MB / 1.533 GB, free: 14.34 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.5126, allocations: 151.8 kB / 1.534 GB, free: 14.19 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5126, allocations: 0 / 1.534 GB, free: 14.19 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.5127, allocations: 55.91 kB / 1.534 GB, free: 14.13 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.5134, allocations: 143.2 kB / 1.534 GB, free: 14 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.5169, allocations: 2.767 MB / 1.536 GB, free: 11.07 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.5173, allocations: 0.7597 MB / 1.537 GB, free: 10.29 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001786/0.5174, allocations: 62.88 kB / 1.537 GB, free: 10.22 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.5175, allocations: 71.41 kB / 1.537 GB, free: 10.15 MB / 1.232 GB Notification: Performance of SimCode: time 3.21e-07/0.5175, allocations: 4 kB / 1.537 GB, free: 10.15 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.5557, allocations: 8.792 MB / 1.546 GB, free: 1.535 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.9, allocations: 5.953 kB / 1.546 GB, free: 1.531 MB / 1.232 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/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: 16.856486570788547]