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.00139/0.00139, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.001663/0.001663, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.844/2.844, allocations: 476.7 MB / 0.7672 GB, free: 5.254 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_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.002112/0.002112, allocations: 71.89 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9734/0.9755, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.211/1.186, allocations: 166.6 MB / 1.441 GB, free: 6.152 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006683/1.193, allocations: 4.622 MB / 1.446 GB, free: 1.523 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004032/1.194, allocations: 11.88 kB / 1.446 GB, free: 1.512 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005572/1.194, allocations: 135.1 kB / 1.446 GB, free: 1.379 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/1.196, allocations: 0.5601 MB / 1.446 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/1.198, allocations: 0.7883 MB / 1.447 GB, free: 28 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001043/1.199, allocations: 0.5768 MB / 1.448 GB, free: 15.45 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/1.2, allocations: 187.1 kB / 1.448 GB, free: 15.26 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/1.201, allocations: 474.2 kB / 1.448 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007892/1.202, allocations: 318.8 kB / 1.448 GB, free: 14.48 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/1.202, allocations: 20 kB / 1.449 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/1.204, allocations: 1.072 MB / 1.45 GB, free: 13.39 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/1.204, allocations: 95.7 kB / 1.45 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/1.204, allocations: 123.3 kB / 1.45 GB, free: 13.17 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/1.206, allocations: 0.7204 MB / 1.45 GB, free: 12.45 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.206, allocations: 0 / 1.45 GB, free: 12.45 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.442e-06/1.206, allocations: 0 / 1.45 GB, free: 12.45 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.003e-05/1.206, allocations: 3.984 kB / 1.45 GB, free: 12.45 MB / 1.154 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.001181/1.207, allocations: 0.6067 MB / 1.451 GB, free: 11.79 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.207, allocations: 8.031 kB / 1.451 GB, free: 11.78 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.258e-05/1.207, allocations: 50.55 kB / 1.451 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/1.208, allocations: 79.72 kB / 1.451 GB, free: 11.64 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/1.208, allocations: 307.4 kB / 1.451 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/1.208, allocations: 19.95 kB / 1.452 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/1.208, allocations: 20 kB / 1.452 GB, free: 11.27 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/1.209, allocations: 291.2 kB / 1.452 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.209, allocations: 0 / 1.452 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/1.209, allocations: 15.88 kB / 1.452 GB, free: 10.94 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/1.209, allocations: 8 kB / 1.452 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/1.21, allocations: 199.8 kB / 1.452 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/1.211, allocations: 1.242 MB / 1.453 GB, free: 9.414 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/1.212, allocations: 169 kB / 1.453 GB, free: 9.203 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/1.212, allocations: 108.2 kB / 1.453 GB, free: 9.082 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008278/1.213, allocations: 343.2 kB / 1.454 GB, free: 8.691 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/1.213, allocations: 34.69 kB / 1.454 GB, free: 8.648 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/1.213, allocations: 0 / 1.454 GB, free: 8.648 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0008559/1.214, allocations: 285.5 kB / 1.454 GB, free: 8.363 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.214, allocations: 158.2 kB / 1.454 GB, free: 8.172 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/1.214, allocations: 287 kB / 1.455 GB, free: 7.887 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/1.214, allocations: 25.7 kB / 1.455 GB, free: 7.855 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/1.214, allocations: 151.9 kB / 1.455 GB, free: 7.703 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/1.214, allocations: 47.58 kB / 1.455 GB, free: 7.656 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.713e-05/1.214, allocations: 45.83 kB / 1.455 GB, free: 7.605 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.215, allocations: 338.8 kB / 1.455 GB, free: 7.266 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/1.215, allocations: 71.88 kB / 1.455 GB, free: 7.195 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/1.215, allocations: 148.5 kB / 1.455 GB, free: 7.02 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/1.216, allocations: 211.5 kB / 1.456 GB, free: 6.785 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.216, allocations: 0 / 1.456 GB, free: 6.785 MB / 1.154 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006186/1.216, allocations: 253.4 kB / 1.456 GB, free: 6.531 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.216, allocations: 8 kB / 1.456 GB, free: 6.523 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.216, allocations: 7.984 kB / 1.456 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.216, allocations: 4 kB / 1.456 GB, free: 6.512 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/1.216, allocations: 31.98 kB / 1.456 GB, free: 6.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/1.216, allocations: 7.938 kB / 1.456 GB, free: 6.473 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/1.217, allocations: 31.77 kB / 1.456 GB, free: 6.441 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/1.217, allocations: 12 kB / 1.456 GB, free: 6.43 MB / 1.154 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.0001667/1.217, allocations: 149.8 kB / 1.456 GB, free: 6.273 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.217, allocations: 23.86 kB / 1.456 GB, free: 6.25 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005226/1.218, allocations: 193.7 kB / 1.456 GB, free: 6.043 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/1.218, allocations: 7.984 kB / 1.456 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.218, allocations: 384 / 1.456 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.218, allocations: 3.938 kB / 1.456 GB, free: 6.031 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/1.219, allocations: 0.8472 MB / 1.457 GB, free: 5.109 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.219, allocations: 0 / 1.457 GB, free: 5.109 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/1.219, allocations: 31.86 kB / 1.457 GB, free: 5.078 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.219, allocations: 0 / 1.457 GB, free: 5.078 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/1.219, allocations: 4 kB / 1.457 GB, free: 5.074 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.219, allocations: 3.938 kB / 1.457 GB, free: 5.07 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.219, allocations: 4 kB / 1.457 GB, free: 5.066 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/1.22, allocations: 335.8 kB / 1.457 GB, free: 4.707 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.22, allocations: 124.9 kB / 1.458 GB, free: 4.566 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/1.22, allocations: 8 kB / 1.458 GB, free: 4.559 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/1.22, allocations: 11.98 kB / 1.458 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/1.22, allocations: 7.984 kB / 1.458 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/1.22, allocations: 4 kB / 1.458 GB, free: 4.535 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002732/1.22, allocations: 237.9 kB / 1.458 GB, free: 4.305 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.22, allocations: 0 / 1.458 GB, free: 4.305 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005205/1.221, allocations: 91.81 kB / 1.458 GB, free: 4.215 MB / 1.154 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.001361/1.222, allocations: 0.9895 MB / 1.459 GB, free: 3.184 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004515/1.223, allocations: 148 kB / 1.459 GB, free: 3.039 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.223, allocations: 0 / 1.459 GB, free: 3.039 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/1.223, allocations: 59.84 kB / 1.459 GB, free: 2.98 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/1.224, allocations: 145.4 kB / 1.459 GB, free: 2.844 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/1.228, allocations: 2.765 MB / 1.462 GB, free: 15.92 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/1.228, allocations: 0.7558 MB / 1.463 GB, free: 15.14 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002169/1.228, allocations: 58.94 kB / 1.463 GB, free: 15.08 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/1.228, allocations: 75.42 kB / 1.463 GB, free: 15.01 MB / 1.17 GB Notification: Performance of SimCode: time 4.81e-07/1.228, allocations: 0 / 1.463 GB, free: 15.01 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/1.267, allocations: 8.62 MB / 1.471 GB, free: 6.555 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.669/9.936, allocations: 13.47 kB / 1.471 GB, free: 6.543 MB / 1.17 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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] "Error: Could not read variable senStr.port_a.m_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! Error: Could not read variable senFloSou.s in file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv. Warning: Get data of variable senFloSou.s from file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.16033495706506]