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.001612/0.001612, allocations: 116.1 kB / 17.17 MB, free: 6 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.001526/0.001526, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.87/2.87, allocations: 0.5003 GB / 0.8026 GB, free: 6.664 MB / 0.6387 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",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.00203/0.00203, allocations: 71.89 kB / 1.165 GB, free: 440 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9144/0.9164, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2131/1.13, allocations: 166.7 MB / 1.503 GB, free: 1.453 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006028/1.136, allocations: 4.621 MB / 1.507 GB, free: 12.82 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/1.136, allocations: 11.88 kB / 1.507 GB, free: 12.81 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004701/1.136, allocations: 131 kB / 1.508 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/1.138, allocations: 0.5601 MB / 1.508 GB, free: 12.12 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/1.14, allocations: 0.793 MB / 1.509 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007887/1.141, allocations: 0.5729 MB / 1.509 GB, free: 10.75 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/1.141, allocations: 179.2 kB / 1.51 GB, free: 10.58 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/1.142, allocations: 0.6849 MB / 1.51 GB, free: 9.891 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006351/1.143, allocations: 310.9 kB / 1.511 GB, free: 9.586 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/1.143, allocations: 20 kB / 1.511 GB, free: 9.566 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/1.145, allocations: 1.075 MB / 1.512 GB, free: 8.488 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/1.145, allocations: 95.66 kB / 1.512 GB, free: 8.395 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/1.145, allocations: 123.3 kB / 1.512 GB, free: 8.273 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/1.146, allocations: 0.7243 MB / 1.513 GB, free: 7.547 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.146, allocations: 0 / 1.513 GB, free: 7.547 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.653e-06/1.146, allocations: 0 / 1.513 GB, free: 7.547 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.184e-06/1.146, allocations: 0 / 1.513 GB, free: 7.547 MB / 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.001031/1.147, allocations: 0.6067 MB / 1.513 GB, free: 6.891 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.147, allocations: 12.03 kB / 1.513 GB, free: 6.879 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.076e-05/1.147, allocations: 7.984 kB / 1.513 GB, free: 6.871 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.555e-05/1.147, allocations: 54.48 kB / 1.513 GB, free: 6.809 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/1.148, allocations: 75.73 kB / 1.513 GB, free: 6.734 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/1.148, allocations: 303.4 kB / 1.514 GB, free: 6.398 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/1.148, allocations: 23.94 kB / 1.514 GB, free: 6.375 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/1.148, allocations: 19.94 kB / 1.514 GB, free: 6.355 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/1.149, allocations: 282.3 kB / 1.514 GB, free: 6.055 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.149, allocations: 3.938 kB / 1.514 GB, free: 6.051 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/1.149, allocations: 11.94 kB / 1.514 GB, free: 6.039 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/1.149, allocations: 4 kB / 1.514 GB, free: 6.035 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/1.149, allocations: 201.4 kB / 1.514 GB, free: 5.84 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/1.151, allocations: 1.242 MB / 1.515 GB, free: 4.52 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/1.151, allocations: 173 kB / 1.515 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/1.152, allocations: 112.2 kB / 1.516 GB, free: 4.18 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007562/1.152, allocations: 339.3 kB / 1.516 GB, free: 3.793 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/1.152, allocations: 30.56 kB / 1.516 GB, free: 3.754 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/1.152, allocations: 0 / 1.516 GB, free: 3.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007897/1.153, allocations: 281.6 kB / 1.516 GB, free: 3.473 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.894e-05/1.153, allocations: 158.2 kB / 1.516 GB, free: 3.281 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/1.154, allocations: 290.9 kB / 1.517 GB, free: 2.996 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/1.154, allocations: 29.7 kB / 1.517 GB, free: 2.961 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/1.154, allocations: 155.8 kB / 1.517 GB, free: 2.805 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/1.154, allocations: 51.52 kB / 1.517 GB, free: 2.754 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/1.154, allocations: 46.2 kB / 1.517 GB, free: 2.703 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.154, allocations: 338.8 kB / 1.517 GB, free: 2.363 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/1.154, allocations: 67.94 kB / 1.517 GB, free: 2.297 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/1.154, allocations: 144.4 kB / 1.517 GB, free: 2.125 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/1.155, allocations: 211.5 kB / 1.518 GB, free: 1.891 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.155, allocations: 0 / 1.518 GB, free: 1.891 MB / 1.186 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005119/1.155, allocations: 245.5 kB / 1.518 GB, free: 1.645 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.155, allocations: 8.031 kB / 1.518 GB, free: 1.637 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.155, allocations: 4 kB / 1.518 GB, free: 1.633 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.155, allocations: 4 kB / 1.518 GB, free: 1.629 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/1.156, allocations: 35.92 kB / 1.518 GB, free: 1.594 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.156, allocations: 8 kB / 1.518 GB, free: 1.586 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/1.156, allocations: 31.77 kB / 1.518 GB, free: 1.555 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/1.156, allocations: 12 kB / 1.518 GB, free: 1.543 MB / 1.186 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.0001453/1.156, allocations: 153.8 kB / 1.518 GB, free: 1.383 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/1.156, allocations: 23.86 kB / 1.518 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/1.156, allocations: 189.8 kB / 1.518 GB, free: 1.156 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.157, allocations: 4 kB / 1.518 GB, free: 1.152 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.157, allocations: 0 / 1.518 GB, free: 1.152 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.157, allocations: 7.938 kB / 1.518 GB, free: 1.145 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.158, allocations: 0.8472 MB / 1.519 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.158, allocations: 7.938 kB / 1.519 GB, free: 220 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/1.158, allocations: 19.98 kB / 1.519 GB, free: 200 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.158, allocations: 0 / 1.519 GB, free: 200 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.158, allocations: 4 kB / 1.519 GB, free: 196 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.158, allocations: 7.938 kB / 1.519 GB, free: 188 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.158, allocations: 0 / 1.519 GB, free: 188 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/1.158, allocations: 339.6 kB / 1.52 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/1.158, allocations: 120.9 kB / 1.52 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/1.158, allocations: 4.094 kB / 1.52 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/1.159, allocations: 15.92 kB / 1.52 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/1.159, allocations: 8.109 kB / 1.52 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.159, allocations: 11.94 kB / 1.52 GB, free: 15.64 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002548/1.159, allocations: 237.9 kB / 1.52 GB, free: 15.41 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/1.159, allocations: 0 / 1.52 GB, free: 15.41 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004871/1.159, allocations: 99.8 kB / 1.52 GB, free: 15.31 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.001236/1.161, allocations: 0.974 MB / 1.521 GB, free: 14.3 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000415/1.161, allocations: 148 kB / 1.521 GB, free: 14.15 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.161, allocations: 4 kB / 1.521 GB, free: 14.15 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/1.161, allocations: 55.84 kB / 1.521 GB, free: 14.09 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/1.162, allocations: 135.2 kB / 1.521 GB, free: 13.96 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/1.166, allocations: 2.774 MB / 1.524 GB, free: 11.04 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/1.166, allocations: 0.7558 MB / 1.525 GB, free: 10.25 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001839/1.166, allocations: 66.88 kB / 1.525 GB, free: 10.19 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/1.166, allocations: 71.42 kB / 1.525 GB, free: 10.12 MB / 1.201 GB Notification: Performance of SimCode: time 1.002e-06/1.166, allocations: 7.938 kB / 1.525 GB, free: 10.11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/1.196, allocations: 8.664 MB / 1.533 GB, free: 1.625 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/9.541, allocations: 12 kB / 1.533 GB, free: 1.613 MB / 1.201 GB " [Timeout remaining time 290] (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: 15.807818758999929]