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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.497/2.497, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 68.33 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2591, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1583/0.4174, allocations: 169.4 MB / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007484/0.425, allocations: 7.126 MB / 1.225 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.4253, allocations: 15.88 kB / 1.225 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.4258, allocations: 170.7 kB / 1.226 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.4283, allocations: 1.264 MB / 1.227 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4296, allocations: 0.6219 MB / 1.227 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008229/0.4305, allocations: 0.7563 MB / 1.228 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.4309, allocations: 294.7 kB / 1.228 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.432, allocations: 0.5759 MB / 1.229 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.4327, allocations: 422.5 kB / 1.229 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.4328, allocations: 28 kB / 1.229 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.4346, allocations: 1.239 MB / 1.231 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.4348, allocations: 119.6 kB / 1.231 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.4349, allocations: 183 kB / 1.231 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.4361, allocations: 0.8923 MB / 1.232 GB, free: 492 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4361, allocations: 4 kB / 1.232 GB, free: 488 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4361, allocations: 4 kB / 1.232 GB, free: 484 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.4361, allocations: 0 / 1.232 GB, free: 484 kB / 0.9825 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.0008788/0.437, allocations: 0.6934 MB / 1.232 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4371, allocations: 8.625 kB / 1.232 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.347e-05/0.4371, allocations: 66.53 kB / 1.232 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/0.4381, allocations: 127.3 kB / 1.233 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.4385, allocations: 321.2 kB / 1.233 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.4386, allocations: 54.25 kB / 1.233 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.4386, allocations: 28 kB / 1.233 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.4392, allocations: 366.1 kB / 1.233 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4392, allocations: 7.938 kB / 1.233 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.4392, allocations: 12 kB / 1.233 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.4393, allocations: 8 kB / 1.233 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.4398, allocations: 278 kB / 1.234 GB, free: 14.41 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.4414, allocations: 1.492 MB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.4417, allocations: 194.5 kB / 1.235 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.4419, allocations: 116.8 kB / 1.235 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000902/0.4429, allocations: 0.5053 MB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4429, allocations: 34.56 kB / 1.236 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.4429, allocations: 0 / 1.236 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008435/0.4438, allocations: 362.9 kB / 1.236 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.4438, allocations: 55.41 kB / 1.236 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.4441, allocations: 312.5 kB / 1.237 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.4441, allocations: 33.7 kB / 1.237 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4442, allocations: 180.1 kB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.4443, allocations: 55.19 kB / 1.237 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.4443, allocations: 45.7 kB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4445, allocations: 342.8 kB / 1.237 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.4446, allocations: 87.92 kB / 1.237 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.4449, allocations: 149.9 kB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.4452, allocations: 233.8 kB / 1.238 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4453, allocations: 0 / 1.238 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005402/0.4458, allocations: 289.1 kB / 1.238 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4458, allocations: 5.406 kB / 1.238 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4458, allocations: 4 kB / 1.238 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4459, allocations: 0 / 1.238 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.4461, allocations: 47.91 kB / 1.238 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4461, allocations: 7.984 kB / 1.238 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.4463, allocations: 23.77 kB / 1.238 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.4463, allocations: 19.94 kB / 1.238 GB, free: 9.531 MB / 0.9981 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.0001372/0.4465, allocations: 153.8 kB / 1.238 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4466, allocations: 31.62 kB / 1.238 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006474/0.4472, allocations: 308.1 kB / 1.239 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4472, allocations: 4.047 kB / 1.239 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4473, allocations: 7.969 kB / 1.239 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4473, allocations: 4 kB / 1.239 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.4484, allocations: 0.8083 MB / 1.239 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4484, allocations: 4 kB / 1.239 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.4486, allocations: 35.92 kB / 1.239 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4486, allocations: 3.938 kB / 1.239 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4486, allocations: 8 kB / 1.239 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.4487, allocations: 7.984 kB / 1.239 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4487, allocations: 4 kB / 1.239 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.4492, allocations: 399.9 kB / 1.24 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4493, allocations: 144.6 kB / 1.24 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.4494, allocations: 11.94 kB / 1.24 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.4496, allocations: 11.98 kB / 1.24 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.4497, allocations: 23.91 kB / 1.24 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.4497, allocations: 8 kB / 1.24 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001812/0.4499, allocations: 227 kB / 1.24 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4499, allocations: 0 / 1.24 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004369/0.4503, allocations: 115.8 kB / 1.24 GB, free: 7.09 MB / 0.9981 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.001142/0.4515, allocations: 1.047 MB / 1.241 GB, free: 6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.4519, allocations: 231.7 kB / 1.242 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.452, allocations: 4 kB / 1.242 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.4522, allocations: 119.7 kB / 1.242 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.453, allocations: 165.9 kB / 1.242 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.4564, allocations: 3.048 MB / 1.245 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.4567, allocations: 0.7872 MB / 1.246 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002616/0.4569, allocations: 90.81 kB / 1.246 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.4571, allocations: 99.41 kB / 1.246 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.4571, allocations: 0 / 1.246 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4827/0.9398, allocations: 10.43 MB / 1.256 GB, free: 196 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/17.62, allocations: 9.016 kB / 1.256 GB, free: 196 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) 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) Reference file matches