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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00656/0.00656, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001791/0.001791, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001937, allocations: 68.11 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2982, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7133/1.012, allocations: 169.5 MB / 1.407 GB, free: 6.844 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008921/1.021, allocations: 7.134 MB / 1.414 GB, free: 1.07 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/1.021, allocations: 12.5 kB / 1.414 GB, free: 1.066 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000516/1.022, allocations: 181 kB / 1.414 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003053/1.025, allocations: 1.247 MB / 1.415 GB, free: 15.98 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/1.026, allocations: 0.636 MB / 1.416 GB, free: 15.52 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009361/1.027, allocations: 0.7528 MB / 1.417 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/1.028, allocations: 289.4 kB / 1.417 GB, free: 14.91 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/1.029, allocations: 0.7184 MB / 1.418 GB, free: 14.45 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007923/1.03, allocations: 416.8 kB / 1.418 GB, free: 14.21 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/1.03, allocations: 26.75 kB / 1.418 GB, free: 14.21 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/1.032, allocations: 1.236 MB / 1.419 GB, free: 13.52 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/1.032, allocations: 112.2 kB / 1.419 GB, free: 13.45 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/1.033, allocations: 183.3 kB / 1.42 GB, free: 13.33 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/1.034, allocations: 0.9079 MB / 1.42 GB, free: 12.78 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/1.034, allocations: 1.375 kB / 1.42 GB, free: 12.78 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.503e-06/1.034, allocations: 0 / 1.42 GB, free: 12.78 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.034, allocations: 0 / 1.42 GB, free: 12.78 MB / 1.123 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.001042/1.035, allocations: 0.7077 MB / 1.421 GB, free: 12.16 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/1.035, allocations: 9.188 kB / 1.421 GB, free: 12.16 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.531e-05/1.035, allocations: 64.03 kB / 1.421 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/1.036, allocations: 137.2 kB / 1.421 GB, free: 12.03 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/1.037, allocations: 334.4 kB / 1.422 GB, free: 11.72 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/1.037, allocations: 50.36 kB / 1.422 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/1.037, allocations: 30 kB / 1.422 GB, free: 11.66 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/1.038, allocations: 367 kB / 1.422 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.038, allocations: 0 / 1.422 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/1.038, allocations: 10.75 kB / 1.422 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/1.038, allocations: 7.031 kB / 1.422 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/1.038, allocations: 279.5 kB / 1.422 GB, free: 11.29 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/1.04, allocations: 1.498 MB / 1.424 GB, free: 9.918 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/1.041, allocations: 190.6 kB / 1.424 GB, free: 9.816 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/1.041, allocations: 125.7 kB / 1.424 GB, free: 9.75 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/1.042, allocations: 0.5028 MB / 1.425 GB, free: 9.23 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.042, allocations: 40.97 kB / 1.425 GB, free: 9.184 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/1.042, allocations: 0 / 1.425 GB, free: 9.184 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.001003/1.043, allocations: 352.3 kB / 1.425 GB, free: 9.008 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/1.043, allocations: 57.72 kB / 1.425 GB, free: 8.941 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/1.043, allocations: 320 kB / 1.425 GB, free: 8.734 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/1.044, allocations: 26.95 kB / 1.425 GB, free: 8.703 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/1.044, allocations: 186.1 kB / 1.426 GB, free: 8.535 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/1.044, allocations: 49.5 kB / 1.426 GB, free: 8.492 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/1.044, allocations: 47.09 kB / 1.426 GB, free: 8.457 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.044, allocations: 342.3 kB / 1.426 GB, free: 8.121 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/1.044, allocations: 88.97 kB / 1.426 GB, free: 8.078 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/1.044, allocations: 148.5 kB / 1.426 GB, free: 7.969 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/1.045, allocations: 235.6 kB / 1.426 GB, free: 7.816 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.045, allocations: 0 / 1.426 GB, free: 7.816 MB / 1.123 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006154/1.046, allocations: 292.8 kB / 1.427 GB, free: 7.656 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.046, allocations: 5.438 kB / 1.427 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.046, allocations: 1.281 kB / 1.427 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.046, allocations: 7.328 kB / 1.427 GB, free: 7.652 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/1.046, allocations: 35.3 kB / 1.427 GB, free: 7.648 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.046, allocations: 2.375 kB / 1.427 GB, free: 7.648 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/1.046, allocations: 31.36 kB / 1.427 GB, free: 7.629 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/1.046, allocations: 13 kB / 1.427 GB, free: 7.625 MB / 1.123 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.0001652/1.046, allocations: 169.1 kB / 1.427 GB, free: 7.469 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.046, allocations: 30.53 kB / 1.427 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/1.047, allocations: 311.9 kB / 1.427 GB, free: 7.27 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.047, allocations: 0 / 1.427 GB, free: 7.27 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.047, allocations: 0 / 1.427 GB, free: 7.27 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.047, allocations: 3.469 kB / 1.427 GB, free: 7.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/1.049, allocations: 0.8123 MB / 1.428 GB, free: 6.613 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.049, allocations: 4.625 kB / 1.428 GB, free: 6.613 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/1.049, allocations: 34.42 kB / 1.428 GB, free: 6.605 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/1.049, allocations: 6.734 kB / 1.428 GB, free: 6.602 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/1.049, allocations: 6.156 kB / 1.428 GB, free: 6.598 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.049, allocations: 2.875 kB / 1.428 GB, free: 6.598 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.049, allocations: 6.312 kB / 1.428 GB, free: 6.594 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/1.049, allocations: 404 kB / 1.429 GB, free: 6.289 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/1.05, allocations: 139.3 kB / 1.429 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/1.05, allocations: 14.06 kB / 1.429 GB, free: 6.141 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/1.05, allocations: 16.95 kB / 1.429 GB, free: 6.133 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/1.05, allocations: 11.48 kB / 1.429 GB, free: 6.129 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/1.05, allocations: 12.06 kB / 1.429 GB, free: 6.125 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000209/1.05, allocations: 227.2 kB / 1.429 GB, free: 5.977 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.05, allocations: 0 / 1.429 GB, free: 5.977 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00051/1.051, allocations: 118.4 kB / 1.429 GB, free: 5.949 MB / 1.123 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.001365/1.052, allocations: 1.074 MB / 1.43 GB, free: 5.039 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005271/1.053, allocations: 219 kB / 1.43 GB, free: 4.941 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.053, allocations: 0 / 1.43 GB, free: 4.941 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/1.053, allocations: 114.8 kB / 1.43 GB, free: 4.891 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000867/1.054, allocations: 162.5 kB / 1.431 GB, free: 4.805 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/1.058, allocations: 3.056 MB / 1.434 GB, free: 2.25 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.058, allocations: 0.7873 MB / 1.434 GB, free: 1.438 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002961/1.059, allocations: 86.8 kB / 1.434 GB, free: 1.352 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.059, allocations: 99.41 kB / 1.435 GB, free: 1.254 MB / 1.123 GB Notification: Performance of SimCode: time 6.11e-07/1.059, allocations: 0 / 1.435 GB, free: 1.254 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/1.093, allocations: 10.51 MB / 1.445 GB, free: 6.926 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/9.28, allocations: 4 kB / 1.445 GB, free: 6.922 MB / 1.139 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 400 --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