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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005832/0.005832, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001246/0.001246, allocations: 198.6 kB / 16.68 MB, free: 5.98 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.818/2.818, allocations: 469.4 MB / 0.7421 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 59.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3228, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.974/1.297, allocations: 169.4 MB / 1.385 GB, free: 1.461 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009852/1.307, allocations: 7.133 MB / 1.392 GB, free: 11.69 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/1.308, allocations: 12.94 kB / 1.392 GB, free: 11.69 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00083/1.308, allocations: 169.9 kB / 1.392 GB, free: 11.54 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004194/1.313, allocations: 1.311 MB / 1.394 GB, free: 10.57 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/1.315, allocations: 0.6349 MB / 1.394 GB, free: 10.11 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001295/1.316, allocations: 0.7648 MB / 1.395 GB, free: 9.664 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006302/1.317, allocations: 289.4 kB / 1.395 GB, free: 9.492 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/1.318, allocations: 0.5864 MB / 1.396 GB, free: 9.129 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/1.32, allocations: 436.3 kB / 1.396 GB, free: 8.875 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/1.32, allocations: 33.98 kB / 1.396 GB, free: 8.867 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/1.323, allocations: 1.246 MB / 1.398 GB, free: 8.168 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002651/1.324, allocations: 111.4 kB / 1.398 GB, free: 8.094 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004481/1.324, allocations: 175 kB / 1.398 GB, free: 7.984 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/1.326, allocations: 0.9133 MB / 1.399 GB, free: 7.43 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.326, allocations: 0 / 1.399 GB, free: 7.43 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.753e-06/1.326, allocations: 3.938 kB / 1.399 GB, free: 7.426 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.089e-05/1.326, allocations: 0 / 1.399 GB, free: 7.426 MB / 1.092 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.001627/1.328, allocations: 0.7097 MB / 1.399 GB, free: 6.801 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.328, allocations: 9.719 kB / 1.399 GB, free: 6.801 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/1.328, allocations: 64.28 kB / 1.399 GB, free: 6.738 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/1.329, allocations: 125.1 kB / 1.4 GB, free: 6.68 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/1.33, allocations: 345.8 kB / 1.4 GB, free: 6.363 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/1.33, allocations: 46.61 kB / 1.4 GB, free: 6.324 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/1.33, allocations: 30.09 kB / 1.4 GB, free: 6.312 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/1.331, allocations: 370.4 kB / 1.4 GB, free: 6.074 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/1.331, allocations: 3.984 kB / 1.4 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/1.331, allocations: 11.19 kB / 1.4 GB, free: 6.062 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.331, allocations: 7.031 kB / 1.4 GB, free: 6.062 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/1.332, allocations: 275.8 kB / 1.401 GB, free: 5.93 MB / 1.092 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.002355/1.334, allocations: 1.486 MB / 1.402 GB, free: 4.578 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/1.335, allocations: 197.5 kB / 1.402 GB, free: 4.469 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/1.335, allocations: 117.3 kB / 1.402 GB, free: 4.41 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.336, allocations: 0.5027 MB / 1.403 GB, free: 3.891 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/1.336, allocations: 36.94 kB / 1.403 GB, free: 3.848 MB / 1.092 GB Notification: Performance of pre-optimization done (n=15): time 2.425e-06/1.336, allocations: 0 / 1.403 GB, free: 3.848 MB / 1.092 GB Notification: Performance of matching and sorting (n=15): time 0.001156/1.337, allocations: 358.9 kB / 1.403 GB, free: 3.664 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.337, allocations: 54.88 kB / 1.403 GB, free: 3.602 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/1.338, allocations: 315.5 kB / 1.404 GB, free: 3.398 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/1.338, allocations: 30.61 kB / 1.404 GB, free: 3.363 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/1.338, allocations: 185 kB / 1.404 GB, free: 3.195 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/1.338, allocations: 62.62 kB / 1.404 GB, free: 3.141 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/1.338, allocations: 46.61 kB / 1.404 GB, free: 3.105 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.338, allocations: 338.4 kB / 1.404 GB, free: 2.773 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/1.338, allocations: 85.72 kB / 1.404 GB, free: 2.734 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/1.339, allocations: 146.9 kB / 1.404 GB, free: 2.629 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/1.339, allocations: 246.6 kB / 1.405 GB, free: 2.465 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.339, allocations: 9.125 kB / 1.405 GB, free: 2.457 MB / 1.092 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007194/1.34, allocations: 272.6 kB / 1.405 GB, free: 2.316 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/1.34, allocations: 9.641 kB / 1.405 GB, free: 2.312 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.34, allocations: 2.281 kB / 1.405 GB, free: 2.312 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.34, allocations: 2.219 kB / 1.405 GB, free: 2.312 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/1.34, allocations: 47.83 kB / 1.405 GB, free: 2.297 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.34, allocations: 6.156 kB / 1.405 GB, free: 2.293 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/1.341, allocations: 31.48 kB / 1.405 GB, free: 2.273 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/1.341, allocations: 12.83 kB / 1.405 GB, free: 2.27 MB / 1.092 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.0002446/1.341, allocations: 160.7 kB / 1.405 GB, free: 2.121 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.341, allocations: 33.56 kB / 1.405 GB, free: 2.102 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007696/1.342, allocations: 305.2 kB / 1.406 GB, free: 1.922 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.342, allocations: 1.469 kB / 1.406 GB, free: 1.922 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.342, allocations: 1.703 kB / 1.406 GB, free: 1.922 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.342, allocations: 3.984 kB / 1.406 GB, free: 1.918 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/1.344, allocations: 0.8069 MB / 1.406 GB, free: 1.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.344, allocations: 1.688 kB / 1.406 GB, free: 1.27 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/1.344, allocations: 42.72 kB / 1.406 GB, free: 1.254 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/1.344, allocations: 2.938 kB / 1.406 GB, free: 1.254 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/1.344, allocations: 8.344 kB / 1.406 GB, free: 1.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/1.344, allocations: 6.719 kB / 1.406 GB, free: 1.25 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.344, allocations: 5.156 kB / 1.406 GB, free: 1.246 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/1.345, allocations: 408.1 kB / 1.407 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/1.345, allocations: 136.1 kB / 1.407 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/1.345, allocations: 10.69 kB / 1.407 GB, free: 0.793 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/1.345, allocations: 12.23 kB / 1.407 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/1.345, allocations: 20.17 kB / 1.407 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/1.345, allocations: 12.25 kB / 1.407 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002703/1.346, allocations: 226.7 kB / 1.407 GB, free: 0.625 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/1.346, allocations: 0 / 1.407 GB, free: 0.625 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007214/1.346, allocations: 127.8 kB / 1.407 GB, free: 0.5898 MB / 1.092 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.001695/1.348, allocations: 1.065 MB / 1.408 GB, free: 15.68 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0006001/1.349, allocations: 221.2 kB / 1.409 GB, free: 15.59 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.349, allocations: 0 / 1.409 GB, free: 15.59 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/1.349, allocations: 115.6 kB / 1.409 GB, free: 15.54 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.35, allocations: 170.9 kB / 1.409 GB, free: 15.45 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/1.355, allocations: 3.047 MB / 1.412 GB, free: 13.2 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/1.355, allocations: 0.7834 MB / 1.413 GB, free: 12.45 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003076/1.355, allocations: 79.19 kB / 1.413 GB, free: 12.41 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/1.356, allocations: 101.2 kB / 1.413 GB, free: 12.33 MB / 1.107 GB Notification: Performance of SimCode: time 6.81e-07/1.356, allocations: 0 / 1.413 GB, free: 12.33 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/1.387, allocations: 10.53 MB / 1.423 GB, free: 5.32 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/9.572, allocations: 10.03 kB / 1.423 GB, free: 5.312 MB / 1.107 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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