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.001411/0.001411, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001374/0.001374, allocations: 218 kB / 23.04 MB, free: 5.074 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.285/1.285, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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.832/2.832, allocations: 0.49 GB / 0.7959 GB, free: 33.51 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.001878/0.001878, allocations: 70.05 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2806, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1873/0.468, allocations: 173.1 MB / 1.496 GB, free: 4.176 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00865/0.4766, allocations: 7.232 MB / 1.503 GB, free: 12.92 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.477, allocations: 19.81 kB / 1.503 GB, free: 12.9 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.4775, allocations: 182.7 kB / 1.503 GB, free: 12.72 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.4805, allocations: 1.331 MB / 1.504 GB, free: 11.39 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.482, allocations: 0.6635 MB / 1.505 GB, free: 10.73 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0008837/0.4829, allocations: 0.768 MB / 1.506 GB, free: 9.957 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.4833, allocations: 239.2 kB / 1.506 GB, free: 9.719 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.4848, allocations: 0.7434 MB / 1.507 GB, free: 8.973 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008991/0.4857, allocations: 458.4 kB / 1.507 GB, free: 8.523 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.4857, allocations: 28 kB / 1.507 GB, free: 8.496 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.488, allocations: 1.364 MB / 1.508 GB, free: 7.129 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.4882, allocations: 119.6 kB / 1.509 GB, free: 7.012 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.4884, allocations: 171.2 kB / 1.509 GB, free: 6.844 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.4898, allocations: 0.9112 MB / 1.51 GB, free: 5.93 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4898, allocations: 3.984 kB / 1.51 GB, free: 5.926 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4898, allocations: 0 / 1.51 GB, free: 5.926 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.4898, allocations: 0 / 1.51 GB, free: 5.926 MB / 1.201 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.001021/0.4908, allocations: 0.6329 MB / 1.51 GB, free: 5.262 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4908, allocations: 12.03 kB / 1.51 GB, free: 5.25 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.113e-05/0.4909, allocations: 8.656 kB / 1.51 GB, free: 5.242 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.736e-05/0.4909, allocations: 62.53 kB / 1.51 GB, free: 5.172 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009819/0.4919, allocations: 131.5 kB / 1.51 GB, free: 5.043 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.4924, allocations: 279.5 kB / 1.511 GB, free: 4.742 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.859e-05/0.4925, allocations: 83.98 kB / 1.511 GB, free: 4.648 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.4926, allocations: 28 kB / 1.511 GB, free: 4.621 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.4932, allocations: 367.2 kB / 1.511 GB, free: 4.242 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4932, allocations: 0 / 1.511 GB, free: 4.242 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.4933, allocations: 15.94 kB / 1.511 GB, free: 4.227 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.4933, allocations: 7.938 kB / 1.511 GB, free: 4.219 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.4938, allocations: 277.8 kB / 1.511 GB, free: 3.949 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.4957, allocations: 1.453 MB / 1.513 GB, free: 2.371 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.4961, allocations: 186.5 kB / 1.513 GB, free: 2.18 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.4963, allocations: 112.8 kB / 1.513 GB, free: 2.066 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007435/0.497, allocations: 143.8 kB / 1.513 GB, free: 1.926 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.4971, allocations: 34.5 kB / 1.513 GB, free: 1.883 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.4971, allocations: 4 kB / 1.513 GB, free: 1.879 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0009324/0.498, allocations: 359.3 kB / 1.514 GB, free: 1.523 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.498, allocations: 55.34 kB / 1.514 GB, free: 1.457 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.4984, allocations: 316.5 kB / 1.514 GB, free: 1.141 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.4984, allocations: 29.7 kB / 1.514 GB, free: 1.105 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.4985, allocations: 188.4 kB / 1.514 GB, free: 0.918 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.4986, allocations: 51.53 kB / 1.514 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/0.4987, allocations: 41.7 kB / 1.514 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4988, allocations: 346.7 kB / 1.515 GB, free: 484 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.499, allocations: 87.89 kB / 1.515 GB, free: 396 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.4993, allocations: 153.9 kB / 1.515 GB, free: 220 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.4997, allocations: 232.1 kB / 1.515 GB, free: 15.97 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4997, allocations: 0 / 1.515 GB, free: 15.97 MB / 1.217 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005923/0.5003, allocations: 285.2 kB / 1.515 GB, free: 15.68 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.5003, allocations: 4 kB / 1.515 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5003, allocations: 4 kB / 1.515 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5003, allocations: 8.188 kB / 1.515 GB, free: 15.67 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.5005, allocations: 35.97 kB / 1.515 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5005, allocations: 4 kB / 1.515 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.5007, allocations: 31.83 kB / 1.515 GB, free: 15.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.5008, allocations: 11.94 kB / 1.515 GB, free: 15.59 MB / 1.217 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.000166/0.5009, allocations: 161.7 kB / 1.516 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.5011, allocations: 31.8 kB / 1.516 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.5017, allocations: 320 kB / 1.516 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5017, allocations: 3.938 kB / 1.516 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5018, allocations: 0 / 1.516 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5018, allocations: 0 / 1.516 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.5031, allocations: 0.7801 MB / 1.517 GB, free: 14.21 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5031, allocations: 4 kB / 1.517 GB, free: 14.2 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.5033, allocations: 27.98 kB / 1.517 GB, free: 14.18 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/0.5033, allocations: 8.156 kB / 1.517 GB, free: 14.17 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.5033, allocations: 8 kB / 1.517 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.5033, allocations: 8 kB / 1.517 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.5033, allocations: 3.938 kB / 1.517 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.5039, allocations: 407.4 kB / 1.517 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.5041, allocations: 63.66 kB / 1.517 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.5041, allocations: 7.938 kB / 1.517 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.5043, allocations: 15.98 kB / 1.517 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.5044, allocations: 19.97 kB / 1.517 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.5044, allocations: 12.05 kB / 1.517 GB, free: 13.6 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00022/0.5046, allocations: 227 kB / 1.518 GB, free: 13.38 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5046, allocations: 0 / 1.518 GB, free: 13.38 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004959/0.5051, allocations: 119.8 kB / 1.518 GB, free: 13.26 MB / 1.217 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.001234/0.5064, allocations: 1.057 MB / 1.519 GB, free: 12.15 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004882/0.5069, allocations: 212.8 kB / 1.519 GB, free: 11.95 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5069, allocations: 0 / 1.519 GB, free: 11.95 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.5071, allocations: 116.5 kB / 1.519 GB, free: 11.83 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008322/0.5079, allocations: 164.4 kB / 1.519 GB, free: 11.68 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.512, allocations: 3.063 MB / 1.522 GB, free: 8.461 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.5124, allocations: 0.7834 MB / 1.523 GB, free: 7.652 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.5126, allocations: 86.86 kB / 1.523 GB, free: 7.566 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.5128, allocations: 103.4 kB / 1.523 GB, free: 7.469 MB / 1.217 GB Notification: Performance of SimCode: time 3.4e-07/0.5128, allocations: 0 / 1.523 GB, free: 7.469 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.5456, allocations: 10.75 MB / 1.534 GB, free: 12.96 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.27, allocations: 15.11 kB / 1.534 GB, free: 12.95 MB / 1.232 GB " [Timeout remaining time 289] (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: 17.238743528025225]