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.005611/0.005611, allocations: 97.16 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.001396/0.001396, allocations: 193.1 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.674/2.674, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3149, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.874/1.189, allocations: 169.4 MB / 1.332 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009779/1.199, allocations: 7.133 MB / 1.339 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005874/1.199, allocations: 12.22 kB / 1.339 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006221/1.2, allocations: 177.2 kB / 1.339 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00397/1.204, allocations: 1.31 MB / 1.34 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/1.206, allocations: 0.6293 MB / 1.341 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001155/1.207, allocations: 0.764 MB / 1.341 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005451/1.208, allocations: 297.3 kB / 1.342 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/1.209, allocations: 0.5861 MB / 1.342 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/1.21, allocations: 428.4 kB / 1.343 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.496e-05/1.21, allocations: 25.75 kB / 1.343 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/1.213, allocations: 1.253 MB / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/1.213, allocations: 117.5 kB / 1.344 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/1.213, allocations: 174.9 kB / 1.344 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/1.215, allocations: 0.9135 MB / 1.345 GB, free: 9.926 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.215, allocations: 0 / 1.345 GB, free: 9.926 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/1.216, allocations: 1.062 kB / 1.345 GB, free: 9.926 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.501e-05/1.216, allocations: 0 / 1.345 GB, free: 9.926 MB / 1.029 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.001238/1.217, allocations: 0.7042 MB / 1.346 GB, free: 9.352 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.217, allocations: 10.34 kB / 1.346 GB, free: 9.352 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.945e-05/1.217, allocations: 62.42 kB / 1.346 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.218, allocations: 125.4 kB / 1.346 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/1.219, allocations: 343.7 kB / 1.346 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/1.219, allocations: 47.61 kB / 1.346 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/1.219, allocations: 26.44 kB / 1.346 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/1.219, allocations: 372.4 kB / 1.347 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.219, allocations: 0 / 1.347 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/1.22, allocations: 11.56 kB / 1.347 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.22, allocations: 10.02 kB / 1.347 GB, free: 8.754 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005651/1.22, allocations: 279.4 kB / 1.347 GB, free: 8.66 MB / 1.029 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.002013/1.222, allocations: 1.495 MB / 1.349 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/1.223, allocations: 191.2 kB / 1.349 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/1.223, allocations: 117.7 kB / 1.349 GB, free: 7.371 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009389/1.224, allocations: 0.508 MB / 1.349 GB, free: 6.887 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/1.224, allocations: 35.72 kB / 1.349 GB, free: 6.844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/1.224, allocations: 3.938 kB / 1.349 GB, free: 6.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0009866/1.225, allocations: 355.3 kB / 1.35 GB, free: 6.719 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/1.225, allocations: 53.56 kB / 1.35 GB, free: 6.656 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/1.225, allocations: 321.4 kB / 1.35 GB, free: 6.484 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/1.225, allocations: 30.52 kB / 1.35 GB, free: 6.449 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/1.225, allocations: 181 kB / 1.35 GB, free: 6.297 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/1.225, allocations: 58.3 kB / 1.35 GB, free: 6.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/1.225, allocations: 48.58 kB / 1.35 GB, free: 6.219 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.226, allocations: 339.5 kB / 1.351 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/1.226, allocations: 82.33 kB / 1.351 GB, free: 5.875 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/1.226, allocations: 154.1 kB / 1.351 GB, free: 5.785 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/1.227, allocations: 246.6 kB / 1.351 GB, free: 5.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.227, allocations: 0 / 1.351 GB, free: 5.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006145/1.227, allocations: 286.1 kB / 1.351 GB, free: 5.547 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.227, allocations: 5.375 kB / 1.351 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.227, allocations: 3 kB / 1.351 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.227, allocations: 2.188 kB / 1.351 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/1.227, allocations: 45.8 kB / 1.351 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.227, allocations: 2.125 kB / 1.351 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/1.228, allocations: 31.08 kB / 1.351 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/1.228, allocations: 9.094 kB / 1.351 GB, free: 5.523 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.0001732/1.228, allocations: 160.4 kB / 1.352 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/1.228, allocations: 29.41 kB / 1.352 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/1.229, allocations: 313.6 kB / 1.352 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.229, allocations: 2 kB / 1.352 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.229, allocations: 0 / 1.352 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.229, allocations: 2.016 kB / 1.352 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/1.231, allocations: 0.8055 MB / 1.353 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.231, allocations: 7.031 kB / 1.353 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/1.232, allocations: 36.8 kB / 1.353 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/1.232, allocations: 10.53 kB / 1.353 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/1.232, allocations: 12.75 kB / 1.353 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/1.232, allocations: 3.281 kB / 1.353 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.232, allocations: 2.188 kB / 1.353 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.233, allocations: 403.1 kB / 1.353 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/1.233, allocations: 134.3 kB / 1.353 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/1.233, allocations: 13.5 kB / 1.353 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/1.234, allocations: 17.12 kB / 1.353 GB, free: 4.289 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/1.234, allocations: 19.88 kB / 1.353 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/1.234, allocations: 7.938 kB / 1.353 GB, free: 4.281 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004067/1.234, allocations: 229 kB / 1.354 GB, free: 4.164 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.31e-07/1.234, allocations: 0 / 1.354 GB, free: 4.164 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009977/1.235, allocations: 122.7 kB / 1.354 GB, free: 4.137 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.001966/1.237, allocations: 1.052 MB / 1.355 GB, free: 3.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006468/1.238, allocations: 231.5 kB / 1.355 GB, free: 3.234 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.238, allocations: 1.062 kB / 1.355 GB, free: 3.234 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/1.238, allocations: 114.8 kB / 1.355 GB, free: 3.203 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/1.239, allocations: 172.6 kB / 1.355 GB, free: 3.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/1.244, allocations: 3.048 MB / 1.358 GB, free: 1.156 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/1.244, allocations: 0.7872 MB / 1.359 GB, free: 464 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003187/1.245, allocations: 84.67 kB / 1.359 GB, free: 436 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/1.245, allocations: 102.6 kB / 1.359 GB, free: 360 kB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/1.245, allocations: 1.062 kB / 1.359 GB, free: 360 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/1.278, allocations: 10.51 MB / 1.369 GB, free: 11.65 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/9.301, allocations: 7.984 kB / 1.369 GB, free: 11.64 MB / 1.045 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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