Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_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.007802/0.007802, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001753/0.001753, allocations: 199.3 kB / 16.68 MB, free: 5.926 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 71.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.754, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1954/0.9495, allocations: 169.4 MB / 1.253 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008214/0.9577, allocations: 7.117 MB / 1.26 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.9582, allocations: 11.94 kB / 1.26 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.9588, allocations: 178.7 kB / 1.26 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.9619, allocations: 1.264 MB / 1.261 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.9635, allocations: 0.6347 MB / 1.262 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009075/0.9644, allocations: 0.7563 MB / 1.263 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.9648, allocations: 291.2 kB / 1.263 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.9659, allocations: 0.576 MB / 1.264 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007498/0.9667, allocations: 418.5 kB / 1.264 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.9667, allocations: 31.94 kB / 1.264 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.9689, allocations: 1.247 MB / 1.265 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.969, allocations: 115.7 kB / 1.265 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.9692, allocations: 179.1 kB / 1.265 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.9706, allocations: 0.8961 MB / 1.266 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.9706, allocations: 3.984 kB / 1.266 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.925e-06/0.9706, allocations: 4 kB / 1.266 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9706, allocations: 3.938 kB / 1.266 GB, free: 6.52 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.001087/0.9717, allocations: 0.6879 MB / 1.267 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9718, allocations: 8.031 kB / 1.267 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.177e-05/0.9719, allocations: 66.53 kB / 1.267 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.9728, allocations: 131.3 kB / 1.267 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.9734, allocations: 345.1 kB / 1.268 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.9735, allocations: 54.25 kB / 1.268 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.9735, allocations: 28 kB / 1.268 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.9742, allocations: 370.1 kB / 1.268 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9742, allocations: 0 / 1.268 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.9742, allocations: 12 kB / 1.268 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.9742, allocations: 4 kB / 1.268 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.9747, allocations: 282 kB / 1.268 GB, free: 4.434 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.001959/0.9767, allocations: 1.484 MB / 1.27 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.9771, allocations: 202.5 kB / 1.27 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.9773, allocations: 116.8 kB / 1.27 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009299/0.9783, allocations: 0.5053 MB / 1.27 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.9783, allocations: 34.56 kB / 1.271 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.9783, allocations: 0 / 1.271 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0009363/0.9793, allocations: 357.1 kB / 1.271 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.9793, allocations: 51.41 kB / 1.271 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.9796, allocations: 316.5 kB / 1.271 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.9797, allocations: 29.7 kB / 1.271 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.9798, allocations: 188 kB / 1.271 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.9799, allocations: 47.27 kB / 1.271 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/0.9799, allocations: 45.7 kB / 1.272 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9801, allocations: 342.8 kB / 1.272 GB, free: 472 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.9803, allocations: 83.92 kB / 1.272 GB, free: 388 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.9805, allocations: 149.9 kB / 1.272 GB, free: 216 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.981, allocations: 241.8 kB / 1.272 GB, free: 15.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.981, allocations: 0 / 1.272 GB, free: 15.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005647/0.9815, allocations: 289 kB / 1.273 GB, free: 15.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.9816, allocations: 4 kB / 1.273 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.9816, allocations: 4 kB / 1.273 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9816, allocations: 0 / 1.273 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.9818, allocations: 51.84 kB / 1.273 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.9818, allocations: 7.938 kB / 1.273 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.982, allocations: 31.67 kB / 1.273 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.9821, allocations: 12 kB / 1.273 GB, free: 15.56 MB / 1.014 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.0001525/0.9822, allocations: 156.8 kB / 1.273 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/0.9823, allocations: 27.72 kB / 1.273 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006583/0.983, allocations: 308.1 kB / 1.273 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.983, allocations: 4 kB / 1.273 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.983, allocations: 0 / 1.273 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.9831, allocations: 7.984 kB / 1.273 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.9843, allocations: 0.8046 MB / 1.274 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9844, allocations: 8.031 kB / 1.274 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.9845, allocations: 35.92 kB / 1.274 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.9846, allocations: 3.938 kB / 1.274 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.9846, allocations: 8 kB / 1.274 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.9846, allocations: 4 kB / 1.274 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9846, allocations: 8.078 kB / 1.274 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.9852, allocations: 407.7 kB / 1.274 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.9853, allocations: 132.7 kB / 1.275 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.9854, allocations: 11.94 kB / 1.275 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.9856, allocations: 11.98 kB / 1.275 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.9857, allocations: 19.92 kB / 1.275 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.9857, allocations: 11.98 kB / 1.275 GB, free: 13.47 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002548/0.986, allocations: 227 kB / 1.275 GB, free: 13.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.986, allocations: 0 / 1.275 GB, free: 13.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005067/0.9865, allocations: 119.8 kB / 1.275 GB, free: 13.13 MB / 1.014 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.001302/0.9878, allocations: 1.053 MB / 1.276 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.9883, allocations: 224 kB / 1.276 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9883, allocations: 0 / 1.276 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.9885, allocations: 119.8 kB / 1.276 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008354/0.9894, allocations: 161.5 kB / 1.276 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.9933, allocations: 3.048 MB / 1.279 GB, free: 8.328 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.9937, allocations: 0.7873 MB / 1.28 GB, free: 7.516 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002765/0.994, allocations: 86.81 kB / 1.28 GB, free: 7.434 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.9942, allocations: 103.4 kB / 1.28 GB, free: 7.332 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/0.9942, allocations: 0 / 1.28 GB, free: 7.332 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/1.026, allocations: 10.63 MB / 1.291 GB, free: 12.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/9.135, allocations: 17.27 kB / 1.291 GB, free: 12.86 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches