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.0008199/0.0008199, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008534/0.0008534, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9077/0.9077, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.666/1.666, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.621e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5808/0.5808, allocations: 143.9 MB / 1.091 GB, free: 39.11 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.5842, allocations: 4.208 MB / 1.095 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.5845, allocations: 16.75 kB / 1.095 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.5849, allocations: 124.7 kB / 1.095 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.5862, allocations: 0.5793 MB / 1.096 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.5878, allocations: 0.8345 MB / 1.097 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006119/0.5884, allocations: 0.5847 MB / 1.097 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.5887, allocations: 167 kB / 1.097 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008381/0.5895, allocations: 0.5345 MB / 1.098 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.59, allocations: 288.3 kB / 1.098 GB, free: 37.9 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.59, allocations: 19.06 kB / 1.098 GB, free: 37.9 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.5913, allocations: 0.8597 MB / 1.099 GB, free: 37.69 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.5914, allocations: 98.78 kB / 1.099 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.5915, allocations: 84.55 kB / 1.099 GB, free: 37.63 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.5926, allocations: 0.7288 MB / 1.1 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5927, allocations: 6.875 kB / 1.1 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5927, allocations: 0 / 1.1 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.5927, allocations: 0 / 1.1 GB, free: 37.45 MB / 0.9948 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.0008959/0.5936, allocations: 0.5363 MB / 1.1 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5936, allocations: 8.5 kB / 1.1 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.5936, allocations: 49.81 kB / 1.1 GB, free: 36.97 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.5941, allocations: 87.03 kB / 1.101 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.5944, allocations: 235.8 kB / 1.101 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.5944, allocations: 16.97 kB / 1.101 GB, free: 36.76 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.5944, allocations: 17.48 kB / 1.101 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.5948, allocations: 282.3 kB / 1.101 GB, free: 36.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5948, allocations: 1.156 kB / 1.101 GB, free: 36.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.5948, allocations: 14.72 kB / 1.101 GB, free: 36.59 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5948, allocations: 13.16 kB / 1.101 GB, free: 36.58 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.5952, allocations: 202.3 kB / 1.101 GB, free: 36.52 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.5963, allocations: 1.163 MB / 1.102 GB, free: 35.59 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.5965, allocations: 169.6 kB / 1.103 GB, free: 35.45 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.5966, allocations: 110 kB / 1.103 GB, free: 35.38 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.597, allocations: 105.5 kB / 1.103 GB, free: 35.37 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.5971, allocations: 43.73 kB / 1.103 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.5971, allocations: 0 / 1.103 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0004875/0.5975, allocations: 273.9 kB / 1.103 GB, free: 35.22 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.5976, allocations: 161.7 kB / 1.103 GB, free: 35.03 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.5978, allocations: 293.9 kB / 1.104 GB, free: 34.87 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.5978, allocations: 31.7 kB / 1.104 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.5979, allocations: 150 kB / 1.104 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.5979, allocations: 44.28 kB / 1.104 GB, free: 34.67 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.5979, allocations: 41.89 kB / 1.104 GB, free: 34.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.229e-05/0.598, allocations: 341.1 kB / 1.104 GB, free: 34.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.5981, allocations: 66.66 kB / 1.104 GB, free: 34.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.5982, allocations: 250.2 kB / 1.104 GB, free: 34.07 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.5985, allocations: 213.1 kB / 1.105 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5985, allocations: 0 / 1.105 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003275/0.5988, allocations: 248.8 kB / 1.105 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5988, allocations: 6.375 kB / 1.105 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5988, allocations: 2.906 kB / 1.105 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5988, allocations: 2.188 kB / 1.105 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.5989, allocations: 39.3 kB / 1.105 GB, free: 33.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.599, allocations: 7.578 kB / 1.105 GB, free: 33.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.5991, allocations: 35.33 kB / 1.105 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.5991, allocations: 13.3 kB / 1.105 GB, free: 33.82 MB / 0.9948 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 9.832e-05/0.5992, allocations: 147.3 kB / 1.105 GB, free: 33.69 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.5993, allocations: 29.17 kB / 1.105 GB, free: 33.67 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.5995, allocations: 185.3 kB / 1.105 GB, free: 33.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5995, allocations: 3.422 kB / 1.105 GB, free: 33.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5996, allocations: 5.719 kB / 1.105 GB, free: 33.56 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5996, allocations: 1.828 kB / 1.105 GB, free: 33.56 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.6001, allocations: 0.8083 MB / 1.106 GB, free: 32.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6001, allocations: 1.328 kB / 1.106 GB, free: 32.87 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.292e-05/0.6002, allocations: 30.22 kB / 1.106 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6002, allocations: 1.75 kB / 1.106 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.6002, allocations: 3.688 kB / 1.106 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.6002, allocations: 9.922 kB / 1.106 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6002, allocations: 6.094 kB / 1.106 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.6006, allocations: 338.9 kB / 1.106 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.6006, allocations: 32.5 kB / 1.107 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.6007, allocations: 6.719 kB / 1.107 GB, free: 32.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.6007, allocations: 11.66 kB / 1.107 GB, free: 32.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.6008, allocations: 12.75 kB / 1.107 GB, free: 32.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.6008, allocations: 4 kB / 1.107 GB, free: 32.59 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001649/0.6009, allocations: 235.1 kB / 1.107 GB, free: 32.47 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6009, allocations: 0 / 1.107 GB, free: 32.47 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004091/0.6014, allocations: 104.2 kB / 1.107 GB, free: 32.45 MB / 0.9948 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.0007138/0.6021, allocations: 0.9803 MB / 1.108 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.6023, allocations: 146.6 kB / 1.108 GB, free: 31.62 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6023, allocations: 1.094 kB / 1.108 GB, free: 31.62 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.6024, allocations: 58.2 kB / 1.108 GB, free: 31.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.6029, allocations: 134.8 kB / 1.108 GB, free: 31.57 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.6052, allocations: 2.743 MB / 1.111 GB, free: 29.69 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.6054, allocations: 156.4 kB / 1.111 GB, free: 29.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001906/0.6055, allocations: 65.34 kB / 1.111 GB, free: 29.59 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.6056, allocations: 78.81 kB / 1.111 GB, free: 29.54 MB / 0.9948 GB Notification: Performance of SimCode: time 6.81e-07/0.6056, allocations: 0 / 1.111 GB, free: 29.54 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.6361, allocations: 9.784 MB / 1.121 GB, free: 27.94 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/8.111, allocations: 6.094 kB / 1.121 GB, free: 27.94 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 12.201425469480455]