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.001911/0.001911, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002591/0.002591, allocations: 193.8 kB / 16.25 MB, free: 6.633 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.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.001/3.001, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 66.47 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3526, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1508/0.5035, allocations: 167.2 MB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007037/0.5106, allocations: 7.093 MB / 1.223 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.511, allocations: 11.94 kB / 1.223 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.5115, allocations: 139.1 kB / 1.223 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002955/0.5145, allocations: 1.195 MB / 1.224 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.5164, allocations: 0.5903 MB / 1.224 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.5175, allocations: 0.7641 MB / 1.225 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/0.518, allocations: 278.8 kB / 1.225 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.519, allocations: 0.5643 MB / 1.226 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007257/0.5198, allocations: 438.5 kB / 1.226 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.5198, allocations: 28 kB / 1.226 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.5218, allocations: 1.309 MB / 1.228 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.5219, allocations: 115.6 kB / 1.228 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.5221, allocations: 179.1 kB / 1.228 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.5234, allocations: 0.97 MB / 1.229 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.5234, allocations: 0 / 1.229 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5234, allocations: 0 / 1.229 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.5234, allocations: 4 kB / 1.229 GB, free: 3.172 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.0008927/0.5243, allocations: 0.6973 MB / 1.23 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5244, allocations: 12.62 kB / 1.23 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.252e-05/0.5245, allocations: 62.55 kB / 1.23 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009535/0.5254, allocations: 131.3 kB / 1.23 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.5258, allocations: 321.2 kB / 1.23 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.5259, allocations: 46.27 kB / 1.23 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.5259, allocations: 31.94 kB / 1.23 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.5265, allocations: 370.2 kB / 1.231 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5266, allocations: 3.938 kB / 1.231 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.5266, allocations: 15.98 kB / 1.231 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.5266, allocations: 4 kB / 1.231 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.5271, allocations: 278 kB / 1.231 GB, free: 1.102 MB / 0.9825 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.001622/0.5287, allocations: 1.484 MB / 1.232 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.5291, allocations: 202.5 kB / 1.233 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.5293, allocations: 112.8 kB / 1.233 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009453/0.5302, allocations: 0.5053 MB / 1.233 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5303, allocations: 34.56 kB / 1.233 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.5303, allocations: 0 / 1.233 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008431/0.5311, allocations: 363.6 kB / 1.234 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.5312, allocations: 55.34 kB / 1.234 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.5314, allocations: 312.5 kB / 1.234 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.5315, allocations: 29.7 kB / 1.234 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5316, allocations: 184.1 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.5316, allocations: 51.2 kB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.5317, allocations: 49.64 kB / 1.234 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.5318, allocations: 350.7 kB / 1.234 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.532, allocations: 79.94 kB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.5322, allocations: 151.4 kB / 1.235 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.5326, allocations: 241.6 kB / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5326, allocations: 0 / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005365/0.5332, allocations: 293 kB / 1.235 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5332, allocations: 4 kB / 1.235 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.5332, allocations: 4 kB / 1.235 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5332, allocations: 0 / 1.235 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.5334, allocations: 47.91 kB / 1.235 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5334, allocations: 4 kB / 1.235 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.5337, allocations: 35.94 kB / 1.235 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.5337, allocations: 16 kB / 1.235 GB, free: 12.21 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.0001342/0.5339, allocations: 153.6 kB / 1.235 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.917e-05/0.534, allocations: 31.62 kB / 1.236 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.5346, allocations: 304.3 kB / 1.236 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5346, allocations: 4 kB / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5346, allocations: 0 / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5346, allocations: 0 / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5358, allocations: 0.8082 MB / 1.237 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5358, allocations: 4 kB / 1.237 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.536, allocations: 39.91 kB / 1.237 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.536, allocations: 3.938 kB / 1.237 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.536, allocations: 12.22 kB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.536, allocations: 4 kB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.536, allocations: 4 kB / 1.237 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.5366, allocations: 400.9 kB / 1.237 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.5367, allocations: 140.6 kB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.5367, allocations: 7.938 kB / 1.237 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.537, allocations: 27.97 kB / 1.237 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.5371, allocations: 11.98 kB / 1.237 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.5371, allocations: 12 kB / 1.237 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001827/0.5373, allocations: 223 kB / 1.237 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5373, allocations: 7.938 kB / 1.237 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004546/0.5378, allocations: 119.8 kB / 1.238 GB, free: 9.773 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.001176/0.5389, allocations: 1.062 MB / 1.239 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004544/0.5394, allocations: 227.7 kB / 1.239 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5394, allocations: 4.312 kB / 1.239 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.5396, allocations: 115.9 kB / 1.239 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.5404, allocations: 159 kB / 1.239 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.5439, allocations: 3.145 MB / 1.242 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.5442, allocations: 0.7911 MB / 1.243 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.5445, allocations: 82.8 kB / 1.243 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5446, allocations: 103.4 kB / 1.243 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.5446, allocations: 0 / 1.243 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.783/10.33, allocations: 10.27 MB / 1.253 GB, free: 196 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/10.33, allocations: 242.7 kB / 1.253 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/13.1, allocations: 9.156 kB / 1.253 GB, free: 195.8 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