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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001547/0.001547, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 68.83 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3361, allocations: 157.4 MB / 1.052 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1622/0.4984, allocations: 167.2 MB / 1.215 GB, free: 440 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007441/0.5059, allocations: 7.197 MB / 1.223 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.5062, allocations: 15.94 kB / 1.223 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.5067, allocations: 135.1 kB / 1.223 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.5093, allocations: 1.191 MB / 1.224 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.5106, allocations: 0.579 MB / 1.224 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008452/0.5114, allocations: 1.053 MB / 1.225 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.5118, allocations: 250 kB / 1.226 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008871/0.5127, allocations: 0.5253 MB / 1.226 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006606/0.5133, allocations: 430.5 kB / 1.227 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.5134, allocations: 16 kB / 1.227 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.5153, allocations: 1.473 MB / 1.228 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.5155, allocations: 115.6 kB / 1.228 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.5156, allocations: 167.1 kB / 1.228 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.5167, allocations: 0.97 MB / 1.229 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5167, allocations: 4 kB / 1.229 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5168, allocations: 0 / 1.229 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5168, allocations: 3.938 kB / 1.229 GB, free: 2.297 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.0008667/0.5176, allocations: 0.6934 MB / 1.23 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.5177, allocations: 11.97 kB / 1.23 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.295e-05/0.5178, allocations: 70.55 kB / 1.23 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009867/0.5187, allocations: 131.3 kB / 1.23 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.5191, allocations: 321.2 kB / 1.23 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.5192, allocations: 50.27 kB / 1.23 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.5192, allocations: 27.94 kB / 1.231 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/0.5198, allocations: 374.2 kB / 1.231 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5198, allocations: 0 / 1.231 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.5199, allocations: 12 kB / 1.231 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.5199, allocations: 8 kB / 1.231 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.5204, allocations: 274 kB / 1.231 GB, free: 232 kB / 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.001635/0.522, allocations: 1.488 MB / 1.233 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.5224, allocations: 190.6 kB / 1.233 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.5226, allocations: 123 kB / 1.233 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009645/0.5236, allocations: 0.513 MB / 1.233 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.5236, allocations: 30.56 kB / 1.233 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.5236, allocations: 0 / 1.233 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008678/0.5245, allocations: 361 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.5246, allocations: 51.41 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.5248, allocations: 316.5 kB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.5249, allocations: 25.7 kB / 1.234 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.525, allocations: 188.1 kB / 1.234 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.525, allocations: 51.2 kB / 1.234 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/0.5251, allocations: 45.7 kB / 1.234 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5252, allocations: 350.7 kB / 1.235 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.5254, allocations: 83.88 kB / 1.235 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.5257, allocations: 151.1 kB / 1.235 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.5261, allocations: 233.8 kB / 1.235 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5261, allocations: 0 / 1.235 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005511/0.5266, allocations: 290.2 kB / 1.235 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5267, allocations: 5.719 kB / 1.235 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.5267, allocations: 4 kB / 1.235 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5267, allocations: 0 / 1.235 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.5269, allocations: 43.91 kB / 1.236 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5269, allocations: 7.938 kB / 1.236 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.5272, allocations: 39.98 kB / 1.236 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.5272, allocations: 19.98 kB / 1.236 GB, free: 11.33 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.0001322/0.5273, allocations: 145.8 kB / 1.236 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5274, allocations: 31.62 kB / 1.236 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006588/0.5281, allocations: 320.1 kB / 1.236 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5281, allocations: 4 kB / 1.236 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5281, allocations: 0 / 1.236 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5281, allocations: 3.984 kB / 1.236 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.5293, allocations: 0.8044 MB / 1.237 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5293, allocations: 0 / 1.237 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.5295, allocations: 35.97 kB / 1.237 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5295, allocations: 3.938 kB / 1.237 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5296, allocations: 8 kB / 1.237 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5296, allocations: 12.16 kB / 1.237 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.5296, allocations: 4 kB / 1.237 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.5301, allocations: 399.6 kB / 1.237 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5303, allocations: 140.6 kB / 1.237 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.5303, allocations: 7.938 kB / 1.237 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.5306, allocations: 23.97 kB / 1.237 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.5306, allocations: 15.98 kB / 1.237 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.5307, allocations: 12 kB / 1.238 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001933/0.5309, allocations: 227 kB / 1.238 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5309, allocations: 0 / 1.238 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004764/0.5314, allocations: 119.8 kB / 1.238 GB, free: 8.895 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.001174/0.5325, allocations: 1.07 MB / 1.239 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.533, allocations: 211.7 kB / 1.239 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.533, allocations: 0 / 1.239 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.5332, allocations: 120.2 kB / 1.239 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.5341, allocations: 151.6 kB / 1.239 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.5376, allocations: 3.149 MB / 1.242 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.5379, allocations: 0.7914 MB / 1.243 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002825/0.5381, allocations: 82.81 kB / 1.243 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.5383, allocations: 99.41 kB / 1.243 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.5383, allocations: 4 kB / 1.243 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9295/1.468, allocations: 10.02 MB / 1.253 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/1.468, allocations: 248.2 kB / 1.253 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/3.514, allocations: 10.33 kB / 1.253 GB, free: 194.4 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