Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SpecificEntropy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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.001666/0.001666, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001637, allocations: 191.5 kB / 16.67 MB, free: 6.582 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.00193, allocations: 67.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.781/1.088, allocations: 163.2 MB / 1.38 GB, free: 5.676 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006522/1.095, allocations: 4.586 MB / 1.384 GB, free: 2.328 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/1.095, allocations: 10.28 kB / 1.384 GB, free: 2.324 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005329/1.096, allocations: 121.4 kB / 1.384 GB, free: 2.219 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/1.098, allocations: 0.5405 MB / 1.385 GB, free: 1.809 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/1.1, allocations: 0.767 MB / 1.385 GB, free: 1.246 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009021/1.101, allocations: 0.5792 MB / 1.386 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/1.101, allocations: 216 kB / 1.386 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/1.102, allocations: 461 kB / 1.387 GB, free: 0.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006927/1.103, allocations: 286.2 kB / 1.387 GB, free: 344 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/1.103, allocations: 18.75 kB / 1.387 GB, free: 344 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/1.105, allocations: 1.001 MB / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/1.105, allocations: 88.98 kB / 1.388 GB, free: 15.71 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/1.106, allocations: 129.3 kB / 1.388 GB, free: 15.63 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/1.107, allocations: 0.7178 MB / 1.389 GB, free: 15.2 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.107, allocations: 0 / 1.389 GB, free: 15.2 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.472e-06/1.107, allocations: 0 / 1.389 GB, free: 15.2 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.535e-05/1.107, allocations: 0.6875 kB / 1.389 GB, free: 15.2 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00118/1.109, allocations: 0.6023 MB / 1.389 GB, free: 14.65 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.109, allocations: 9.781 kB / 1.389 GB, free: 14.65 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.877e-05/1.109, allocations: 53.45 kB / 1.39 GB, free: 14.6 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/1.109, allocations: 78.31 kB / 1.39 GB, free: 14.56 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/1.11, allocations: 301.7 kB / 1.39 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/1.11, allocations: 12 kB / 1.39 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/1.11, allocations: 21.81 kB / 1.39 GB, free: 14.26 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/1.111, allocations: 291.1 kB / 1.39 GB, free: 14.05 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.111, allocations: 6.281 kB / 1.39 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/1.111, allocations: 5.188 kB / 1.39 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.111, allocations: 9.531 kB / 1.39 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/1.111, allocations: 200.7 kB / 1.39 GB, free: 13.94 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/1.113, allocations: 1.254 MB / 1.392 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/1.113, allocations: 174.1 kB / 1.392 GB, free: 12.63 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/1.113, allocations: 111.5 kB / 1.392 GB, free: 12.55 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007833/1.114, allocations: 332.7 kB / 1.392 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/1.114, allocations: 46.11 kB / 1.392 GB, free: 12.18 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/1.114, allocations: 0 / 1.392 GB, free: 12.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.0008153/1.115, allocations: 281.5 kB / 1.393 GB, free: 12.03 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.115, allocations: 157.6 kB / 1.393 GB, free: 11.84 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/1.116, allocations: 286.8 kB / 1.393 GB, free: 11.66 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/1.116, allocations: 35.02 kB / 1.393 GB, free: 11.62 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/1.116, allocations: 143.9 kB / 1.393 GB, free: 11.48 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/1.116, allocations: 53.02 kB / 1.393 GB, free: 11.44 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/1.116, allocations: 46.27 kB / 1.393 GB, free: 11.4 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.116, allocations: 333.2 kB / 1.394 GB, free: 11.07 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/1.116, allocations: 67.53 kB / 1.394 GB, free: 11.04 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/1.117, allocations: 151.4 kB / 1.394 GB, free: 10.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/1.117, allocations: 212.8 kB / 1.394 GB, free: 10.76 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.117, allocations: 2.156 kB / 1.394 GB, free: 10.76 MB / 1.092 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005639/1.118, allocations: 235.6 kB / 1.394 GB, free: 10.64 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.118, allocations: 11 kB / 1.394 GB, free: 10.63 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.118, allocations: 1.062 kB / 1.394 GB, free: 10.63 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.118, allocations: 3.406 kB / 1.394 GB, free: 10.63 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/1.118, allocations: 45.31 kB / 1.394 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/1.118, allocations: 2.312 kB / 1.394 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/1.118, allocations: 31.3 kB / 1.394 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/1.118, allocations: 17.56 kB / 1.394 GB, free: 10.59 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001624/1.118, allocations: 146.5 kB / 1.394 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.118, allocations: 32.61 kB / 1.394 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/1.119, allocations: 181.6 kB / 1.395 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.119, allocations: 6.875 kB / 1.395 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.119, allocations: 1.281 kB / 1.395 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.119, allocations: 1.25 kB / 1.395 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/1.12, allocations: 0.8651 MB / 1.395 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.12, allocations: 1.062 kB / 1.395 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/1.12, allocations: 21.39 kB / 1.395 GB, free: 9.473 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/1.12, allocations: 6.156 kB / 1.395 GB, free: 9.469 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/1.12, allocations: 10.11 kB / 1.396 GB, free: 9.461 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.12, allocations: 6.469 kB / 1.396 GB, free: 9.457 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.12, allocations: 1.938 kB / 1.396 GB, free: 9.457 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/1.121, allocations: 333.8 kB / 1.396 GB, free: 9.195 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/1.121, allocations: 119 kB / 1.396 GB, free: 9.07 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/1.121, allocations: 3.312 kB / 1.396 GB, free: 9.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/1.121, allocations: 8.484 kB / 1.396 GB, free: 9.066 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/1.121, allocations: 13.34 kB / 1.396 GB, free: 9.059 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/1.121, allocations: 4.156 kB / 1.396 GB, free: 9.059 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002956/1.122, allocations: 233.5 kB / 1.396 GB, free: 8.906 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.81e-07/1.122, allocations: 0 / 1.396 GB, free: 8.906 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005627/1.122, allocations: 104 kB / 1.396 GB, free: 8.879 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001657/1.124, allocations: 1.003 MB / 1.397 GB, free: 8.016 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000473/1.124, allocations: 146.3 kB / 1.397 GB, free: 7.953 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.124, allocations: 0 / 1.397 GB, free: 7.953 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/1.125, allocations: 66.27 kB / 1.397 GB, free: 7.922 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/1.126, allocations: 146.8 kB / 1.398 GB, free: 7.852 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/1.13, allocations: 2.764 MB / 1.4 GB, free: 5.715 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/1.13, allocations: 0.7547 MB / 1.401 GB, free: 4.984 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002602/1.131, allocations: 66.62 kB / 1.401 GB, free: 4.949 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/1.131, allocations: 78.91 kB / 1.401 GB, free: 4.891 MB / 1.092 GB Notification: Performance of SimCode: time 3.356e-06/1.131, allocations: 0 / 1.401 GB, free: 4.891 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/1.165, allocations: 8.621 MB / 1.41 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/9.772, allocations: 3.875 kB / 1.41 GB, free: 0.5547 MB / 1.092 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches