Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_10_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.00139/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002237/0.002238, allocations: 195.2 kB / 16.25 MB, free: 6.621 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 64.14 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5717, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1538/0.7255, allocations: 167.2 MB / 1.18 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00747/0.7331, allocations: 7.093 MB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.7335, allocations: 11.88 kB / 1.187 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.7341, allocations: 139.1 kB / 1.187 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.7369, allocations: 1.191 MB / 1.188 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.7384, allocations: 0.5766 MB / 1.189 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008558/0.7393, allocations: 0.7718 MB / 1.19 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.7397, allocations: 270.8 kB / 1.19 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.7408, allocations: 0.5683 MB / 1.191 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007549/0.7416, allocations: 442.5 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.7416, allocations: 28 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.7434, allocations: 1.305 MB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.7435, allocations: 115.6 kB / 1.192 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.7437, allocations: 179.1 kB / 1.193 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.7451, allocations: 0.9777 MB / 1.194 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.7451, allocations: 0 / 1.194 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7451, allocations: 0 / 1.194 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7451, allocations: 0 / 1.194 GB, free: 13.34 MB / 0.9512 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.001006/0.7462, allocations: 0.6974 MB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7462, allocations: 8.031 kB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.91e-05/0.7463, allocations: 58.55 kB / 1.194 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009681/0.7473, allocations: 131.4 kB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.7477, allocations: 329.1 kB / 1.195 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.7477, allocations: 46.27 kB / 1.195 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.7478, allocations: 28 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.7484, allocations: 374.1 kB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7484, allocations: 3.938 kB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.7485, allocations: 12 kB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.7485, allocations: 4 kB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.749, allocations: 278 kB / 1.195 GB, free: 11.28 MB / 0.9512 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.001732/0.7507, allocations: 1.484 MB / 1.197 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.7511, allocations: 202.5 kB / 1.197 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.7513, allocations: 112.8 kB / 1.197 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008987/0.7522, allocations: 0.5053 MB / 1.198 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.7522, allocations: 34.56 kB / 1.198 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.7522, allocations: 0 / 1.198 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0008649/0.7531, allocations: 367.2 kB / 1.198 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.7531, allocations: 51.41 kB / 1.198 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.7534, allocations: 312.5 kB / 1.198 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.7535, allocations: 29.7 kB / 1.198 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.7536, allocations: 188 kB / 1.199 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.7536, allocations: 51.27 kB / 1.199 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.7537, allocations: 45.7 kB / 1.199 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7538, allocations: 342.7 kB / 1.199 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.754, allocations: 83.94 kB / 1.199 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.7543, allocations: 151.4 kB / 1.199 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.7546, allocations: 245.3 kB / 1.199 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7547, allocations: 0 / 1.199 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005447/0.7552, allocations: 277.1 kB / 1.2 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7552, allocations: 4 kB / 1.2 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.7552, allocations: 0 / 1.2 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.7553, allocations: 4 kB / 1.2 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.7555, allocations: 52.09 kB / 1.2 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7555, allocations: 4 kB / 1.2 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.7557, allocations: 35.67 kB / 1.2 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.7558, allocations: 16.03 kB / 1.2 GB, free: 6.398 MB / 0.9512 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.0001397/0.7559, allocations: 157.6 kB / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.756, allocations: 35.61 kB / 1.2 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/0.7567, allocations: 312.1 kB / 1.2 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7567, allocations: 4 kB / 1.2 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7567, allocations: 4 kB / 1.2 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7567, allocations: 0 / 1.2 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.7579, allocations: 0.8082 MB / 1.201 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7579, allocations: 4 kB / 1.201 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.7581, allocations: 44.12 kB / 1.201 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.7581, allocations: 3.938 kB / 1.201 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.7581, allocations: 8 kB / 1.201 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.7581, allocations: 4 kB / 1.201 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7581, allocations: 0 / 1.201 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.7587, allocations: 404.9 kB / 1.202 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.7588, allocations: 128.9 kB / 1.202 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.7589, allocations: 11.88 kB / 1.202 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.7591, allocations: 27.88 kB / 1.202 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.7592, allocations: 19.92 kB / 1.202 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.7592, allocations: 8 kB / 1.202 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001904/0.7594, allocations: 227 kB / 1.202 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7594, allocations: 0 / 1.202 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004652/0.7599, allocations: 127.8 kB / 1.202 GB, free: 3.945 MB / 0.9512 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.001193/0.7611, allocations: 1.053 MB / 1.203 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.7616, allocations: 231.9 kB / 1.203 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7616, allocations: 4 kB / 1.203 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.7618, allocations: 115.7 kB / 1.203 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.7627, allocations: 171.5 kB / 1.204 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.7663, allocations: 3.141 MB / 1.207 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.7666, allocations: 0.7834 MB / 1.207 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003012/0.7669, allocations: 82.88 kB / 1.208 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.7671, allocations: 99.41 kB / 1.208 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.7671, allocations: 0 / 1.208 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.181/2.948, allocations: 10.27 MB / 1.218 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/2.948, allocations: 246.7 kB / 1.218 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/5.411, allocations: 0 / 1.218 GB, free: 3.738 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches