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.001715/0.001715, 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.002107/0.002107, 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.853/2.853, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_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.0021/0.0021, allocations: 63.91 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9973/0.9994, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2215/1.221, allocations: 166.6 MB / 1.442 GB, free: 5.25 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00651/1.227, allocations: 4.611 MB / 1.446 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/1.228, allocations: 15.88 kB / 1.446 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/1.229, allocations: 131.1 kB / 1.446 GB, free: 496 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/1.23, allocations: 0.564 MB / 1.447 GB, free: 15.92 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/1.233, allocations: 0.785 MB / 1.448 GB, free: 15.13 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0007193/1.233, allocations: 0.5846 MB / 1.448 GB, free: 14.55 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/1.234, allocations: 187.1 kB / 1.448 GB, free: 14.36 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/1.235, allocations: 478.2 kB / 1.449 GB, free: 13.89 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007211/1.235, allocations: 318.8 kB / 1.449 GB, free: 13.58 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/1.235, allocations: 16 kB / 1.449 GB, free: 13.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/1.237, allocations: 1.075 MB / 1.45 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/1.237, allocations: 95.7 kB / 1.45 GB, free: 12.39 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/1.237, allocations: 127.3 kB / 1.45 GB, free: 12.27 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/1.239, allocations: 0.7165 MB / 1.451 GB, free: 11.55 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.239, allocations: 4 kB / 1.451 GB, free: 11.55 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.653e-06/1.239, allocations: 0 / 1.451 GB, free: 11.55 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.239, allocations: 0 / 1.451 GB, free: 11.55 MB / 1.139 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.001094/1.24, allocations: 0.6067 MB / 1.452 GB, free: 10.89 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.24, allocations: 8.031 kB / 1.452 GB, free: 10.88 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.273e-05/1.24, allocations: 11.95 kB / 1.452 GB, free: 10.87 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/1.24, allocations: 58.48 kB / 1.452 GB, free: 10.8 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006652/1.241, allocations: 71.8 kB / 1.452 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/1.241, allocations: 311.3 kB / 1.452 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.241, allocations: 16 kB / 1.452 GB, free: 10.38 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/1.241, allocations: 16 kB / 1.452 GB, free: 10.36 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/1.242, allocations: 295.2 kB / 1.452 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.242, allocations: 0 / 1.452 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/1.242, allocations: 11.94 kB / 1.453 GB, free: 10.03 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.242, allocations: 7.984 kB / 1.453 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/1.242, allocations: 209.3 kB / 1.453 GB, free: 9.82 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/1.244, allocations: 1.242 MB / 1.454 GB, free: 8.5 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/1.244, allocations: 165 kB / 1.454 GB, free: 8.293 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/1.244, allocations: 112.4 kB / 1.454 GB, free: 8.168 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/1.245, allocations: 331.2 kB / 1.455 GB, free: 7.789 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/1.245, allocations: 38.55 kB / 1.455 GB, free: 7.742 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/1.245, allocations: 0 / 1.455 GB, free: 7.742 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007855/1.246, allocations: 281.6 kB / 1.455 GB, free: 7.461 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/1.246, allocations: 158.6 kB / 1.455 GB, free: 7.27 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/1.246, allocations: 287 kB / 1.455 GB, free: 6.98 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/1.246, allocations: 25.7 kB / 1.455 GB, free: 6.949 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/1.246, allocations: 151.9 kB / 1.455 GB, free: 6.797 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/1.246, allocations: 59.45 kB / 1.455 GB, free: 6.738 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/1.246, allocations: 49.77 kB / 1.456 GB, free: 6.684 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.247, allocations: 334.8 kB / 1.456 GB, free: 6.348 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/1.247, allocations: 67.94 kB / 1.456 GB, free: 6.281 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/1.247, allocations: 150.5 kB / 1.456 GB, free: 6.105 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/1.247, allocations: 211.5 kB / 1.456 GB, free: 5.871 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.247, allocations: 0 / 1.456 GB, free: 5.871 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005322/1.248, allocations: 253.3 kB / 1.456 GB, free: 5.617 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.248, allocations: 4 kB / 1.456 GB, free: 5.613 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.248, allocations: 4.078 kB / 1.456 GB, free: 5.609 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.248, allocations: 0 / 1.456 GB, free: 5.609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/1.248, allocations: 43.91 kB / 1.457 GB, free: 5.566 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.248, allocations: 3.984 kB / 1.457 GB, free: 5.562 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/1.248, allocations: 35.77 kB / 1.457 GB, free: 5.527 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/1.248, allocations: 8 kB / 1.457 GB, free: 5.52 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.0001609/1.249, allocations: 156 kB / 1.457 GB, free: 5.359 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.249, allocations: 23.86 kB / 1.457 GB, free: 5.336 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/1.249, allocations: 189.8 kB / 1.457 GB, free: 5.133 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.249, allocations: 0 / 1.457 GB, free: 5.133 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.249, allocations: 8.062 kB / 1.457 GB, free: 5.125 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.249, allocations: 3.938 kB / 1.457 GB, free: 5.121 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/1.25, allocations: 0.8472 MB / 1.458 GB, free: 4.199 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.25, allocations: 3.938 kB / 1.458 GB, free: 4.195 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/1.25, allocations: 23.92 kB / 1.458 GB, free: 4.172 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.25, allocations: 4 kB / 1.458 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.25, allocations: 4 kB / 1.458 GB, free: 4.164 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.25, allocations: 3.984 kB / 1.458 GB, free: 4.16 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.25, allocations: 4 kB / 1.458 GB, free: 4.156 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/1.251, allocations: 339.6 kB / 1.458 GB, free: 3.793 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/1.251, allocations: 124.8 kB / 1.458 GB, free: 3.652 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/1.251, allocations: 0 / 1.458 GB, free: 3.652 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/1.251, allocations: 12 kB / 1.458 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/1.251, allocations: 11.92 kB / 1.458 GB, free: 3.629 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/1.251, allocations: 4 kB / 1.458 GB, free: 3.625 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002507/1.252, allocations: 241.9 kB / 1.459 GB, free: 3.391 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.252, allocations: 0 / 1.459 GB, free: 3.391 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004733/1.252, allocations: 99.86 kB / 1.459 GB, free: 3.293 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.0012/1.253, allocations: 0.9779 MB / 1.46 GB, free: 2.273 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004246/1.254, allocations: 147.8 kB / 1.46 GB, free: 2.129 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.254, allocations: 0 / 1.46 GB, free: 2.129 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/1.254, allocations: 59.89 kB / 1.46 GB, free: 2.07 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/1.255, allocations: 143.4 kB / 1.46 GB, free: 1.938 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/1.258, allocations: 2.774 MB / 1.463 GB, free: 15 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/1.259, allocations: 0.7519 MB / 1.463 GB, free: 14.22 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002137/1.259, allocations: 62.88 kB / 1.463 GB, free: 14.16 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/1.259, allocations: 79.41 kB / 1.463 GB, free: 14.08 MB / 1.154 GB Notification: Performance of SimCode: time 1.022e-06/1.259, allocations: 0 / 1.463 GB, free: 14.08 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/1.288, allocations: 8.654 MB / 1.472 GB, free: 5.602 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/10.21, allocations: 13.78 kB / 1.472 GB, free: 5.59 MB / 1.154 GB " [Timeout remaining time 290] (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: 16.756668420974165]