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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009465/0.0009465, allocations: 89.97 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008429/0.008429, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.683/2.683, allocations: 462.7 MB / 0.7364 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 15.67 kB / 0.9029 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2551, allocations: 159.6 MB / 1.059 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1489/0.404, allocations: 165 MB / 1.22 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007248/0.4113, allocations: 7.09 MB / 1.227 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.4117, allocations: 15.88 kB / 1.227 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.4121, allocations: 139.1 kB / 1.227 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.4147, allocations: 1.187 MB / 1.228 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.416, allocations: 0.5704 MB / 1.229 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000983/0.417, allocations: 1.064 MB / 1.23 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003691/0.4173, allocations: 242 kB / 1.23 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009885/0.4183, allocations: 0.5215 MB / 1.231 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.419, allocations: 426.4 kB / 1.231 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.4191, allocations: 12 kB / 1.231 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.421, allocations: 1.469 MB / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4212, allocations: 107.7 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.4213, allocations: 188.8 kB / 1.233 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.4227, allocations: 0.9659 MB / 1.234 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4227, allocations: 4 kB / 1.234 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4227, allocations: 0 / 1.234 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.4227, allocations: 0 / 1.234 GB, free: 1.156 MB / 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.0008334/0.4236, allocations: 0.6389 MB / 1.234 GB, free: 480 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4236, allocations: 15.95 kB / 1.234 GB, free: 464 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/0.4237, allocations: 66.55 kB / 1.234 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009099/0.4246, allocations: 131.4 kB / 1.234 GB, free: 256 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.425, allocations: 321.2 kB / 1.235 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.425, allocations: 50.27 kB / 1.235 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.4251, allocations: 24 kB / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.4257, allocations: 378.2 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4257, allocations: 3.938 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.4257, allocations: 12 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4257, allocations: 7.938 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.4262, allocations: 286 kB / 1.235 GB, free: 15.12 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.001628/0.4279, allocations: 1.496 MB / 1.237 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.4282, allocations: 202.5 kB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.4285, allocations: 124.8 kB / 1.237 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008838/0.4294, allocations: 0.5209 MB / 1.238 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.4294, allocations: 30.56 kB / 1.238 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.4294, allocations: 4 kB / 1.238 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008619/0.4303, allocations: 379.6 kB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4303, allocations: 55.34 kB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.4306, allocations: 316.5 kB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4306, allocations: 25.7 kB / 1.239 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4307, allocations: 188.1 kB / 1.239 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.4308, allocations: 47.2 kB / 1.239 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.4308, allocations: 33.64 kB / 1.239 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4309, allocations: 338.8 kB / 1.239 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.4311, allocations: 95.92 kB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.4313, allocations: 149.9 kB / 1.239 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.4317, allocations: 260 kB / 1.24 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4318, allocations: 0 / 1.24 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000541/0.4323, allocations: 289.2 kB / 1.24 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4323, allocations: 4 kB / 1.24 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4323, allocations: 4 kB / 1.24 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.4324, allocations: 3.938 kB / 1.24 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.4326, allocations: 47.92 kB / 1.24 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4326, allocations: 3.984 kB / 1.24 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.4328, allocations: 39.86 kB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.4328, allocations: 12 kB / 1.24 GB, free: 10.17 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.0001321/0.433, allocations: 157.6 kB / 1.24 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.4331, allocations: 27.62 kB / 1.24 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/0.4337, allocations: 320.2 kB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4337, allocations: 4 kB / 1.24 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4338, allocations: 0 / 1.24 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4338, allocations: 0 / 1.24 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.4349, allocations: 0.8201 MB / 1.241 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4349, allocations: 3.984 kB / 1.241 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.4351, allocations: 39.92 kB / 1.241 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4351, allocations: 3.938 kB / 1.241 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4351, allocations: 12.08 kB / 1.241 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4351, allocations: 7.938 kB / 1.241 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4352, allocations: 0 / 1.241 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.4357, allocations: 413.1 kB / 1.242 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.4358, allocations: 136.7 kB / 1.242 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.4359, allocations: 7.984 kB / 1.242 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.4361, allocations: 31.98 kB / 1.242 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.4362, allocations: 15.98 kB / 1.242 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.4362, allocations: 11.98 kB / 1.242 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001908/0.4364, allocations: 223.1 kB / 1.242 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4364, allocations: 3.938 kB / 1.242 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004387/0.4369, allocations: 119.8 kB / 1.242 GB, free: 7.691 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.001133/0.438, allocations: 1.073 MB / 1.243 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.4385, allocations: 227.7 kB / 1.243 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4385, allocations: 0 / 1.243 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.4387, allocations: 128.5 kB / 1.244 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.4396, allocations: 158.8 kB / 1.244 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.443, allocations: 3.191 MB / 1.247 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.4433, allocations: 0.7876 MB / 1.248 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002717/0.4436, allocations: 94.92 kB / 1.248 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.4437, allocations: 99.41 kB / 1.248 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4438, allocations: 0 / 1.248 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8269/1.271, allocations: 9.882 MB / 1.257 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/1.271, allocations: 250.9 kB / 1.258 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/3.311, allocations: 0 / 1.258 GB, free: 191.1 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