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.004812/0.004812, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001154/0.001154, allocations: 192 kB / 16.67 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.66 kB / 0.9504 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2667, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1729/0.4397, allocations: 169.4 MB / 1.253 GB, free: 7.871 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009191/0.4489, allocations: 7.132 MB / 1.26 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.4494, allocations: 11.94 kB / 1.26 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.45, allocations: 170.7 kB / 1.26 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.5569/1.007, allocations: 1.304 MB / 1.261 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/1.009, allocations: 0.6344 MB / 1.262 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00115/1.01, allocations: 0.7564 MB / 1.263 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000577/1.01, allocations: 298.4 kB / 1.263 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/1.012, allocations: 0.5884 MB / 1.264 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/1.014, allocations: 434.5 kB / 1.264 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/1.014, allocations: 26.5 kB / 1.264 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/1.017, allocations: 1.25 MB / 1.265 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/1.017, allocations: 112.9 kB / 1.265 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003474/1.018, allocations: 179.8 kB / 1.266 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002808/1.02, allocations: 0.9049 MB / 1.266 GB, free: 3.461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.02, allocations: 0.7969 kB / 1.266 GB, free: 3.461 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/1.02, allocations: 0.875 kB / 1.266 GB, free: 3.461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.021, allocations: 1.062 kB / 1.266 GB, free: 3.461 MB / 1.014 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.001237/1.022, allocations: 0.7053 MB / 1.267 GB, free: 2.945 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.022, allocations: 10.41 kB / 1.267 GB, free: 2.945 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.094e-05/1.022, allocations: 64.53 kB / 1.267 GB, free: 2.906 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/1.023, allocations: 134.5 kB / 1.267 GB, free: 2.883 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/1.024, allocations: 343 kB / 1.268 GB, free: 2.652 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/1.024, allocations: 54.03 kB / 1.268 GB, free: 2.621 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/1.024, allocations: 26.72 kB / 1.268 GB, free: 2.621 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/1.025, allocations: 364.9 kB / 1.268 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.025, allocations: 2 kB / 1.268 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/1.025, allocations: 13.88 kB / 1.268 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/1.025, allocations: 7.125 kB / 1.268 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/1.025, allocations: 270.8 kB / 1.268 GB, free: 2.543 MB / 1.014 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.002339/1.028, allocations: 1.491 MB / 1.27 GB, free: 17.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/1.028, allocations: 190 kB / 1.27 GB, free: 17.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/1.028, allocations: 121.1 kB / 1.27 GB, free: 17.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/1.029, allocations: 0.5002 MB / 1.271 GB, free: 17.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/1.029, allocations: 41.17 kB / 1.271 GB, free: 17.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/1.029, allocations: 0.6875 kB / 1.271 GB, free: 17.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001056/1.03, allocations: 359.3 kB / 1.271 GB, free: 16.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/1.031, allocations: 54.25 kB / 1.271 GB, free: 16.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/1.031, allocations: 320.1 kB / 1.271 GB, free: 16.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/1.031, allocations: 27.08 kB / 1.271 GB, free: 16.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/1.031, allocations: 192.6 kB / 1.272 GB, free: 16.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/1.031, allocations: 50.98 kB / 1.272 GB, free: 16.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-05/1.031, allocations: 46.75 kB / 1.272 GB, free: 16.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.031, allocations: 344 kB / 1.272 GB, free: 16.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/1.032, allocations: 81.72 kB / 1.272 GB, free: 16.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/1.032, allocations: 145.7 kB / 1.272 GB, free: 16.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/1.032, allocations: 244.6 kB / 1.272 GB, free: 16.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.032, allocations: 0.5938 kB / 1.272 GB, free: 16.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007005/1.033, allocations: 288.4 kB / 1.273 GB, free: 16.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.033, allocations: 9.438 kB / 1.273 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.033, allocations: 4.906 kB / 1.273 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/1.033, allocations: 4.312 kB / 1.273 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/1.033, allocations: 41.78 kB / 1.273 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.033, allocations: 2.625 kB / 1.273 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/1.034, allocations: 34.45 kB / 1.273 GB, free: 16.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/1.034, allocations: 14.11 kB / 1.273 GB, free: 16.13 MB / 1.029 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.0001721/1.034, allocations: 148.3 kB / 1.273 GB, free: 16.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.034, allocations: 35.11 kB / 1.273 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007445/1.035, allocations: 316.8 kB / 1.273 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.035, allocations: 4.922 kB / 1.273 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.035, allocations: 0 / 1.273 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.035, allocations: 2.234 kB / 1.273 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.036, allocations: 0.8111 MB / 1.274 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.036, allocations: 2.438 kB / 1.274 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/1.037, allocations: 33.08 kB / 1.274 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/1.037, allocations: 3.094 kB / 1.274 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/1.037, allocations: 9.078 kB / 1.274 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.037, allocations: 6.203 kB / 1.274 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.037, allocations: 7.562 kB / 1.274 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/1.037, allocations: 402.6 kB / 1.274 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/1.038, allocations: 129.8 kB / 1.275 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/1.038, allocations: 8.641 kB / 1.275 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/1.038, allocations: 13.75 kB / 1.275 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/1.038, allocations: 23.86 kB / 1.275 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/1.038, allocations: 14.89 kB / 1.275 GB, free: 15.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003328/1.038, allocations: 225.2 kB / 1.275 GB, free: 15.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/1.038, allocations: 0 / 1.275 GB, free: 15.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007178/1.039, allocations: 122.3 kB / 1.275 GB, free: 15.17 MB / 1.029 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.00152/1.041, allocations: 1.068 MB / 1.276 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005566/1.041, allocations: 223 kB / 1.276 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.041, allocations: 0 / 1.276 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/1.042, allocations: 115.8 kB / 1.276 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/1.042, allocations: 165.9 kB / 1.277 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/1.046, allocations: 3.047 MB / 1.28 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/1.047, allocations: 0.7845 MB / 1.28 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004211/1.047, allocations: 89.2 kB / 1.28 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/1.048, allocations: 99.98 kB / 1.28 GB, free: 12.14 MB / 1.029 GB Notification: Performance of SimCode: time 9.41e-07/1.048, allocations: 1.203 kB / 1.28 GB, free: 12.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/1.079, allocations: 10.51 MB / 1.291 GB, free: 11.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/9.331, allocations: 10.77 kB / 1.291 GB, free: 11.34 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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