Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_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.001488/0.001488, 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.001509/0.001509, allocations: 194.9 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.533/2.533, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 65.5 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2468, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1746/0.4215, allocations: 169.4 MB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008056/0.4296, allocations: 7.134 MB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.4299, allocations: 15.88 kB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.4304, allocations: 166.8 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.4332, allocations: 1.264 MB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.4347, allocations: 0.6256 MB / 1.239 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008702/0.4356, allocations: 0.7563 MB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/0.436, allocations: 302.7 kB / 1.24 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.437, allocations: 0.572 MB / 1.24 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007253/0.4378, allocations: 422.5 kB / 1.241 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.4378, allocations: 24 kB / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.44, allocations: 1.243 MB / 1.242 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.4401, allocations: 115.6 kB / 1.242 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.4403, allocations: 187.1 kB / 1.242 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.4416, allocations: 0.8845 MB / 1.243 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4416, allocations: 0 / 1.243 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4416, allocations: 4 kB / 1.243 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.371e-06/0.4416, allocations: 0 / 1.243 GB, free: 6.367 MB / 0.9981 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.0009414/0.4426, allocations: 0.6934 MB / 1.244 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4426, allocations: 12.03 kB / 1.244 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.687e-05/0.4427, allocations: 62.53 kB / 1.244 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.4436, allocations: 131.3 kB / 1.244 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.444, allocations: 321.2 kB / 1.244 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.4441, allocations: 54.25 kB / 1.244 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.4442, allocations: 24 kB / 1.244 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.4448, allocations: 374.1 kB / 1.245 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.4448, allocations: 0 / 1.245 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.4449, allocations: 8 kB / 1.245 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.4449, allocations: 12 kB / 1.245 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.4454, allocations: 274 kB / 1.245 GB, free: 4.305 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.001792/0.4472, allocations: 1.5 MB / 1.246 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.4476, allocations: 194.5 kB / 1.246 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.4478, allocations: 120.8 kB / 1.247 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00097/0.4488, allocations: 0.5014 MB / 1.247 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.4488, allocations: 34.56 kB / 1.247 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.4488, allocations: 3.938 kB / 1.247 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008897/0.4497, allocations: 358.2 kB / 1.247 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.4498, allocations: 59.41 kB / 1.247 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.4501, allocations: 312.5 kB / 1.248 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.4501, allocations: 29.7 kB / 1.248 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.4502, allocations: 180.1 kB / 1.248 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.4503, allocations: 59.19 kB / 1.248 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.4504, allocations: 41.7 kB / 1.248 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4505, allocations: 342.8 kB / 1.248 GB, free: 320 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.4507, allocations: 87.92 kB / 1.249 GB, free: 232 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.451, allocations: 149.9 kB / 1.249 GB, free: 60 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3642/0.8152, allocations: 229.4 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.8152, allocations: 1.75 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005956/0.8158, allocations: 285.4 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8159, allocations: 5.688 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8159, allocations: 3.797 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.8159, allocations: 3.875 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.8161, allocations: 43.72 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8161, allocations: 3.906 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.8163, allocations: 28.97 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.8164, allocations: 13.86 kB / 1.249 GB, free: 189.4 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.0001324/0.8165, allocations: 154.1 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.8166, allocations: 31.19 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000643/0.8173, allocations: 316.7 kB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.8173, allocations: 2 kB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8173, allocations: 0.5156 kB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.8173, allocations: 4.812 kB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.8184, allocations: 0.7966 MB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.8184, allocations: 13.88 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.8186, allocations: 38.66 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8186, allocations: 3.078 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.8186, allocations: 6.641 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.8186, allocations: 3.203 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8186, allocations: 5.875 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.8191, allocations: 399.3 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.8192, allocations: 138.4 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.8193, allocations: 4.484 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.8195, allocations: 23.36 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.8196, allocations: 15.95 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.8196, allocations: 8.781 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001734/0.8198, allocations: 226.8 kB / 1.251 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8198, allocations: 0.8125 kB / 1.251 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000442/0.8202, allocations: 120.9 kB / 1.251 GB, free: 188.5 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.001012/0.8212, allocations: 1.069 MB / 1.253 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004547/0.8217, allocations: 221.5 kB / 1.253 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8217, allocations: 2.719 kB / 1.253 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.8219, allocations: 118.9 kB / 1.253 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.8227, allocations: 158.4 kB / 1.253 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.8257, allocations: 3.065 MB / 1.256 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.8259, allocations: 0.7882 MB / 1.257 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002361/0.8261, allocations: 89.25 kB / 1.257 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.8262, allocations: 103.6 kB / 1.257 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.8262, allocations: 0 / 1.257 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.077/2.903, allocations: 10.42 MB / 1.267 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/14.6, allocations: 7.672 kB / 1.267 GB, free: 184.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches