Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001442/0.001442, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.0016/0.0016, allocations: 218.4 kB / 22.26 MB, free: 5.125 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.314/1.314, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.88/2.88, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.001874/0.001874, allocations: 71.44 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.309, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1881/0.4972, allocations: 173.1 MB / 1.522 GB, free: 10.66 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008849/0.506, allocations: 7.229 MB / 1.529 GB, free: 3.41 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003831/0.5064, allocations: 19.81 kB / 1.529 GB, free: 3.391 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.5069, allocations: 178.7 kB / 1.529 GB, free: 3.215 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.5099, allocations: 1.334 MB / 1.53 GB, free: 1.875 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.5115, allocations: 0.6673 MB / 1.531 GB, free: 1.211 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.5126, allocations: 0.7719 MB / 1.532 GB, free: 448 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.513, allocations: 243 kB / 1.532 GB, free: 204 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.5146, allocations: 0.7395 MB / 1.533 GB, free: 15.46 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008684/0.5154, allocations: 458.5 kB / 1.533 GB, free: 15.01 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.5155, allocations: 27.94 kB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.5177, allocations: 1.364 MB / 1.535 GB, free: 13.61 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.5178, allocations: 111.6 kB / 1.535 GB, free: 13.5 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.518, allocations: 195.1 kB / 1.535 GB, free: 13.31 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.5196, allocations: 0.9034 MB / 1.536 GB, free: 12.41 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5196, allocations: 0 / 1.536 GB, free: 12.41 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5196, allocations: 0 / 1.536 GB, free: 12.41 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.5196, allocations: 0 / 1.536 GB, free: 12.41 MB / 1.232 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.001039/0.5206, allocations: 0.6368 MB / 1.536 GB, free: 11.74 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5207, allocations: 12.02 kB / 1.536 GB, free: 11.73 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.91e-05/0.5207, allocations: 58.55 kB / 1.537 GB, free: 11.66 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009388/0.5217, allocations: 135.6 kB / 1.537 GB, free: 11.53 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.5222, allocations: 271.6 kB / 1.537 GB, free: 11.24 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.413e-05/0.5223, allocations: 80.05 kB / 1.537 GB, free: 11.14 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.5223, allocations: 31.94 kB / 1.537 GB, free: 11.11 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.523, allocations: 359.3 kB / 1.537 GB, free: 10.74 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.523, allocations: 0 / 1.537 GB, free: 10.74 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.523, allocations: 15.98 kB / 1.537 GB, free: 10.73 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.523, allocations: 8 kB / 1.537 GB, free: 10.72 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.5235, allocations: 277.7 kB / 1.538 GB, free: 10.45 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.5254, allocations: 1.457 MB / 1.539 GB, free: 8.867 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.5258, allocations: 186.5 kB / 1.539 GB, free: 8.676 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.526, allocations: 120.7 kB / 1.539 GB, free: 8.555 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/0.5267, allocations: 143.8 kB / 1.539 GB, free: 8.414 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.5268, allocations: 30.56 kB / 1.54 GB, free: 8.375 MB / 1.232 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.5268, allocations: 0 / 1.54 GB, free: 8.375 MB / 1.232 GB Notification: Performance of matching and sorting (n=15): time 0.0008684/0.5276, allocations: 353.3 kB / 1.54 GB, free: 8.023 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.5277, allocations: 59.34 kB / 1.54 GB, free: 7.953 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.528, allocations: 316.5 kB / 1.54 GB, free: 7.633 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.528, allocations: 25.7 kB / 1.54 GB, free: 7.602 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.5282, allocations: 188.4 kB / 1.54 GB, free: 7.414 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.5282, allocations: 51.52 kB / 1.54 GB, free: 7.363 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.5283, allocations: 49.66 kB / 1.541 GB, free: 7.309 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5285, allocations: 342.7 kB / 1.541 GB, free: 6.965 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.5286, allocations: 95.88 kB / 1.541 GB, free: 6.871 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.5289, allocations: 143.8 kB / 1.541 GB, free: 6.711 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.5293, allocations: 233.8 kB / 1.541 GB, free: 6.461 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5293, allocations: 0 / 1.541 GB, free: 6.461 MB / 1.232 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005783/0.5299, allocations: 295.6 kB / 1.542 GB, free: 6.168 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.5299, allocations: 4 kB / 1.542 GB, free: 6.164 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5299, allocations: 0 / 1.542 GB, free: 6.164 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5299, allocations: 4 kB / 1.542 GB, free: 6.16 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.5301, allocations: 39.97 kB / 1.542 GB, free: 6.121 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5301, allocations: 7.938 kB / 1.542 GB, free: 6.113 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.5303, allocations: 27.83 kB / 1.542 GB, free: 6.086 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.5304, allocations: 8 kB / 1.542 GB, free: 6.078 MB / 1.232 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.0001559/0.5305, allocations: 169.8 kB / 1.542 GB, free: 5.902 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.5306, allocations: 31.81 kB / 1.542 GB, free: 5.871 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.5313, allocations: 314 kB / 1.542 GB, free: 5.559 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5313, allocations: 4 kB / 1.542 GB, free: 5.555 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5313, allocations: 0 / 1.542 GB, free: 5.555 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5313, allocations: 4.031 kB / 1.542 GB, free: 5.551 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.5326, allocations: 0.7803 MB / 1.543 GB, free: 4.699 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5326, allocations: 0 / 1.543 GB, free: 4.699 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.5328, allocations: 35.98 kB / 1.543 GB, free: 4.664 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.5328, allocations: 7.938 kB / 1.543 GB, free: 4.656 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.5328, allocations: 4 kB / 1.543 GB, free: 4.652 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.5328, allocations: 15.86 kB / 1.543 GB, free: 4.637 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.5328, allocations: 4 kB / 1.543 GB, free: 4.633 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.5334, allocations: 401.2 kB / 1.543 GB, free: 4.203 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.5336, allocations: 59.72 kB / 1.543 GB, free: 4.145 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.5336, allocations: 11.94 kB / 1.543 GB, free: 4.133 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5338, allocations: 15.98 kB / 1.543 GB, free: 4.117 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.5339, allocations: 15.97 kB / 1.543 GB, free: 4.102 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.5339, allocations: 12 kB / 1.543 GB, free: 4.09 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002245/0.5341, allocations: 227 kB / 1.544 GB, free: 3.871 MB / 1.232 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5341, allocations: 0 / 1.544 GB, free: 3.871 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004694/0.5346, allocations: 119.8 kB / 1.544 GB, free: 3.754 MB / 1.232 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.001207/0.5358, allocations: 1.056 MB / 1.545 GB, free: 2.648 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.5363, allocations: 211.7 kB / 1.545 GB, free: 2.441 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5363, allocations: 384 / 1.545 GB, free: 2.441 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.5365, allocations: 115.8 kB / 1.545 GB, free: 2.328 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.5373, allocations: 151.5 kB / 1.545 GB, free: 2.18 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.5412, allocations: 3.066 MB / 1.548 GB, free: 14.96 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.5416, allocations: 0.7912 MB / 1.549 GB, free: 14.14 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.5418, allocations: 78.94 kB / 1.549 GB, free: 14.07 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.542, allocations: 99.41 kB / 1.549 GB, free: 13.97 MB / 1.248 GB Notification: Performance of SimCode: time 3.11e-07/0.542, allocations: 0 / 1.549 GB, free: 13.97 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/0.5824, allocations: 10.72 MB / 1.56 GB, free: 3.449 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.12, allocations: 5.891 kB / 1.56 GB, free: 3.445 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.035619931062683]