Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.001208/0.001208, allocations: 114.6 kB / 17.16 MB, free: 6.004 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.001352/0.001352, allocations: 212.6 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.417/1.417, 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 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.87/2.87, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.EntropyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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: 63.91 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.881/0.883, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2236/1.107, allocations: 172.9 MB / 1.49 GB, free: 8.988 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009619/1.116, allocations: 7.19 MB / 1.497 GB, free: 3.18 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005206/1.117, allocations: 15.97 kB / 1.497 GB, free: 3.172 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005524/1.117, allocations: 171 kB / 1.498 GB, free: 3.023 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/1.121, allocations: 1.311 MB / 1.499 GB, free: 2.051 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/1.122, allocations: 0.646 MB / 1.499 GB, free: 1.578 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00103/1.123, allocations: 0.7455 MB / 1.5 GB, free: 1.152 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/1.124, allocations: 247.5 kB / 1.5 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/1.126, allocations: 0.7494 MB / 1.501 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008812/1.126, allocations: 438.5 kB / 1.502 GB, free: 280 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/1.126, allocations: 30.31 kB / 1.502 GB, free: 276 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/1.129, allocations: 1.329 MB / 1.503 GB, free: 15.5 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/1.129, allocations: 120.4 kB / 1.503 GB, free: 15.42 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/1.129, allocations: 175.1 kB / 1.503 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/1.131, allocations: 0.9189 MB / 1.504 GB, free: 14.32 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/1.131, allocations: 3.938 kB / 1.504 GB, free: 14.32 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/1.131, allocations: 0 / 1.504 GB, free: 14.32 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.131, allocations: 0 / 1.504 GB, free: 14.32 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001075/1.132, allocations: 0.7121 MB / 1.505 GB, free: 13.56 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.132, allocations: 11.98 kB / 1.505 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.1e-05/1.132, allocations: 8.562 kB / 1.505 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.673e-05/1.132, allocations: 62.53 kB / 1.505 GB, free: 13.47 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/1.133, allocations: 135.5 kB / 1.505 GB, free: 13.34 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/1.134, allocations: 341.4 kB / 1.505 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/1.134, allocations: 46.27 kB / 1.505 GB, free: 12.91 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/1.134, allocations: 31.98 kB / 1.505 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/1.134, allocations: 366.1 kB / 1.506 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.134, allocations: 4 kB / 1.506 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/1.134, allocations: 8 kB / 1.506 GB, free: 12.49 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/1.134, allocations: 15.88 kB / 1.506 GB, free: 12.48 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005546/1.135, allocations: 270 kB / 1.506 GB, free: 12.21 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/1.137, allocations: 1.5 MB / 1.507 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/1.137, allocations: 182.6 kB / 1.508 GB, free: 10.4 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/1.138, allocations: 116.8 kB / 1.508 GB, free: 10.28 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009847/1.139, allocations: 0.5014 MB / 1.508 GB, free: 9.688 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.139, allocations: 38.55 kB / 1.508 GB, free: 9.641 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/1.139, allocations: 0 / 1.508 GB, free: 9.641 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0009892/1.14, allocations: 364 kB / 1.509 GB, free: 9.281 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/1.14, allocations: 51.41 kB / 1.509 GB, free: 9.219 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/1.14, allocations: 312.5 kB / 1.509 GB, free: 8.906 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/1.14, allocations: 37.69 kB / 1.509 GB, free: 8.863 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/1.14, allocations: 180.3 kB / 1.509 GB, free: 8.684 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/1.14, allocations: 59.52 kB / 1.509 GB, free: 8.625 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/1.14, allocations: 49.66 kB / 1.509 GB, free: 8.57 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.141, allocations: 342.8 kB / 1.51 GB, free: 8.227 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/1.141, allocations: 83.92 kB / 1.51 GB, free: 8.145 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/1.141, allocations: 144 kB / 1.51 GB, free: 7.984 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/1.141, allocations: 247.8 kB / 1.51 GB, free: 7.723 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.142, allocations: 0 / 1.51 GB, free: 7.723 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006226/1.142, allocations: 281.2 kB / 1.51 GB, free: 7.441 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.142, allocations: 6.031 kB / 1.51 GB, free: 7.438 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.142, allocations: 4 kB / 1.51 GB, free: 7.434 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.142, allocations: 0 / 1.51 GB, free: 7.434 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.142, allocations: 48.09 kB / 1.51 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.142, allocations: 8 kB / 1.51 GB, free: 7.379 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/1.143, allocations: 31.77 kB / 1.51 GB, free: 7.348 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/1.143, allocations: 12 kB / 1.51 GB, free: 7.336 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001624/1.143, allocations: 153.6 kB / 1.511 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.143, allocations: 31.81 kB / 1.511 GB, free: 7.145 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007408/1.144, allocations: 308.2 kB / 1.511 GB, free: 6.828 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.144, allocations: 4 kB / 1.511 GB, free: 6.824 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.144, allocations: 3.938 kB / 1.511 GB, free: 6.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.144, allocations: 3.984 kB / 1.511 GB, free: 6.816 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/1.145, allocations: 0.8083 MB / 1.512 GB, free: 5.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.145, allocations: 0 / 1.512 GB, free: 5.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/1.145, allocations: 39.91 kB / 1.512 GB, free: 5.891 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/1.145, allocations: 7.938 kB / 1.512 GB, free: 5.883 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/1.145, allocations: 8 kB / 1.512 GB, free: 5.875 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/1.145, allocations: 4.219 kB / 1.512 GB, free: 5.871 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.145, allocations: 8 kB / 1.512 GB, free: 5.863 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/1.146, allocations: 393.2 kB / 1.512 GB, free: 5.441 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/1.146, allocations: 144.8 kB / 1.512 GB, free: 5.281 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/1.146, allocations: 11.94 kB / 1.512 GB, free: 5.27 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/1.146, allocations: 11.98 kB / 1.512 GB, free: 5.258 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/1.146, allocations: 19.92 kB / 1.512 GB, free: 5.238 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/1.147, allocations: 15.98 kB / 1.512 GB, free: 5.223 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002416/1.147, allocations: 227 kB / 1.513 GB, free: 5.004 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/1.147, allocations: 0 / 1.513 GB, free: 5.004 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005208/1.147, allocations: 119.8 kB / 1.513 GB, free: 4.887 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.001334/1.149, allocations: 1.048 MB / 1.514 GB, free: 3.789 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006512/1.149, allocations: 224.8 kB / 1.514 GB, free: 3.57 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.149, allocations: 0 / 1.514 GB, free: 3.57 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003256/1.15, allocations: 107.9 kB / 1.514 GB, free: 3.465 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009072/1.15, allocations: 169.6 kB / 1.514 GB, free: 3.305 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/1.155, allocations: 3.054 MB / 1.517 GB, free: 96 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/1.155, allocations: 0.7834 MB / 1.518 GB, free: 15.29 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002739/1.155, allocations: 90.8 kB / 1.518 GB, free: 15.2 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/1.156, allocations: 99.41 kB / 1.518 GB, free: 15.1 MB / 1.201 GB Notification: Performance of SimCode: time 5.81e-07/1.156, allocations: 0 / 1.518 GB, free: 15.1 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/1.188, allocations: 10.56 MB / 1.528 GB, free: 4.746 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/9.779, allocations: 8.625 kB / 1.528 GB, free: 4.738 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.869723897019867]