Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_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.001093/0.001093, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005296/0.005296, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437.8 MB / 0.7121 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.6153, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1717/0.787, allocations: 158.9 MB / 1.178 GB, free: 344 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005786/0.7929, allocations: 4.575 MB / 1.183 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.7932, allocations: 7.938 kB / 1.183 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.7937, allocations: 103.3 kB / 1.183 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.7951, allocations: 0.5136 MB / 1.183 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.797, allocations: 0.6933 MB / 1.184 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009999/0.798, allocations: 0.8108 MB / 1.185 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.7983, allocations: 169.5 kB / 1.185 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.7994, allocations: 426.4 kB / 1.185 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006152/0.8, allocations: 294.9 kB / 1.186 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.8, allocations: 8 kB / 1.186 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.8022, allocations: 1.165 MB / 1.187 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.8024, allocations: 83.77 kB / 1.187 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.8027, allocations: 149 kB / 1.187 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.8048, allocations: 0.7635 MB / 1.188 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8048, allocations: 0 / 1.188 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8048, allocations: 0 / 1.188 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.8048, allocations: 0 / 1.188 GB, free: 6.559 MB / 0.9356 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.001346/0.8062, allocations: 0.5491 MB / 1.188 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.8063, allocations: 8.031 kB / 1.188 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.674e-05/0.8063, allocations: 54.53 kB / 1.188 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/0.8071, allocations: 83.48 kB / 1.188 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.8077, allocations: 279.4 kB / 1.189 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.8078, allocations: 19.98 kB / 1.189 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.8079, allocations: 16 kB / 1.189 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.8085, allocations: 299.4 kB / 1.189 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.8086, allocations: 3.938 kB / 1.189 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.8086, allocations: 11.94 kB / 1.189 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.8086, allocations: 4 kB / 1.189 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.8091, allocations: 223.5 kB / 1.189 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.8107, allocations: 1.245 MB / 1.191 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.811, allocations: 185 kB / 1.191 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.8112, allocations: 120.2 kB / 1.191 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007733/0.812, allocations: 351.2 kB / 1.191 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.8121, allocations: 38.69 kB / 1.191 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.8121, allocations: 0 / 1.191 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008093/0.8129, allocations: 293.5 kB / 1.191 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.813, allocations: 158.2 kB / 1.192 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.8133, allocations: 291.1 kB / 1.192 GB, free: 2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.8134, allocations: 29.7 kB / 1.192 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.8135, allocations: 147.9 kB / 1.192 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.8135, allocations: 43.3 kB / 1.192 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.8136, allocations: 17.72 kB / 1.192 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8137, allocations: 342.8 kB / 1.192 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.8139, allocations: 75.94 kB / 1.193 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.8142, allocations: 152.4 kB / 1.193 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.8146, allocations: 215.6 kB / 1.193 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.8147, allocations: 0 / 1.193 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006827/0.8153, allocations: 265 kB / 1.193 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8154, allocations: 8 kB / 1.193 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8154, allocations: 0 / 1.193 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.8154, allocations: 4 kB / 1.193 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.8156, allocations: 39.98 kB / 1.193 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8156, allocations: 12.23 kB / 1.193 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.8158, allocations: 31.75 kB / 1.193 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.8159, allocations: 19.98 kB / 1.193 GB, free: 0.5352 MB / 0.9356 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.0001367/0.816, allocations: 141.8 kB / 1.193 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.8162, allocations: 31.62 kB / 1.193 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/0.8168, allocations: 214 kB / 1.194 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.8168, allocations: 3.938 kB / 1.194 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8168, allocations: 4 kB / 1.194 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8168, allocations: 3.938 kB / 1.194 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.8179, allocations: 0.855 MB / 1.194 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8179, allocations: 0 / 1.194 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.818, allocations: 27.92 kB / 1.194 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.818, allocations: 4.156 kB / 1.194 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.818, allocations: 8 kB / 1.194 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.8181, allocations: 4 kB / 1.194 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8181, allocations: 0 / 1.194 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.8187, allocations: 351.3 kB / 1.195 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.8188, allocations: 132.6 kB / 1.195 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.8189, allocations: 4.062 kB / 1.195 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.8191, allocations: 19.98 kB / 1.195 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.8191, allocations: 7.984 kB / 1.195 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.8191, allocations: 4 kB / 1.195 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002482/0.8194, allocations: 237.9 kB / 1.195 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8194, allocations: 0 / 1.195 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004835/0.8199, allocations: 91.98 kB / 1.195 GB, free: 14.26 MB / 0.9512 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.001288/0.8212, allocations: 1.007 MB / 1.196 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.8216, allocations: 160 kB / 1.196 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8216, allocations: 0 / 1.196 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.8218, allocations: 63.91 kB / 1.197 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.8227, allocations: 145 kB / 1.197 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.8264, allocations: 2.86 MB / 1.199 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.8267, allocations: 0.7599 MB / 1.2 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000226/0.827, allocations: 67.28 kB / 1.2 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.8272, allocations: 75.42 kB / 1.2 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.8272, allocations: 0 / 1.2 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.8493, allocations: 8.087 MB / 1.208 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.8496, allocations: 249.5 kB / 1.208 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.902, allocations: 0 / 1.208 GB, free: 0.7578 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches