Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_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.001559/0.001559, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00191/0.00191, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.958/1.958, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.661/4.661, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 64.08 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7481, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.338/1.086, allocations: 161 MB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01206/1.098, allocations: 4.551 MB / 1.214 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/1.099, allocations: 11.94 kB / 1.214 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/1.101, allocations: 99.36 kB / 1.214 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/1.104, allocations: 0.5136 MB / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003381/1.107, allocations: 0.7126 MB / 1.215 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001414/1.109, allocations: 0.5806 MB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007903/1.109, allocations: 201.2 kB / 1.216 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/1.111, allocations: 450.3 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/1.112, allocations: 306.9 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/1.112, allocations: 20 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/1.117, allocations: 1.044 MB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/1.117, allocations: 99.66 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/1.117, allocations: 119.4 kB / 1.218 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003354/1.121, allocations: 0.7674 MB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/1.121, allocations: 0 / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.627e-06/1.121, allocations: 0 / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.18e-05/1.121, allocations: 4 kB / 1.219 GB, free: 13.54 MB / 0.9825 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.002066/1.123, allocations: 0.5918 MB / 1.219 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/1.123, allocations: 12.62 kB / 1.219 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/1.123, allocations: 54.48 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.124, allocations: 79.58 kB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007112/1.125, allocations: 279.4 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/1.125, allocations: 12 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/1.125, allocations: 20 kB / 1.22 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008875/1.126, allocations: 295.4 kB / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/1.126, allocations: 0 / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/1.126, allocations: 7.938 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/1.126, allocations: 4 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/1.127, allocations: 215.5 kB / 1.22 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/1.13, allocations: 1.241 MB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/1.13, allocations: 177 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/1.131, allocations: 116.4 kB / 1.222 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/1.132, allocations: 331.2 kB / 1.222 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/1.132, allocations: 34.56 kB / 1.222 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.117e-05/1.132, allocations: 0 / 1.222 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001339/1.133, allocations: 285.8 kB / 1.223 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/1.134, allocations: 158.2 kB / 1.223 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/1.134, allocations: 283.1 kB / 1.223 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/1.134, allocations: 33.64 kB / 1.223 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/1.135, allocations: 143.9 kB / 1.223 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/1.135, allocations: 43.36 kB / 1.223 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/1.135, allocations: 41.7 kB / 1.223 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002784/1.135, allocations: 342.8 kB / 1.224 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/1.136, allocations: 71.84 kB / 1.224 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/1.136, allocations: 144.5 kB / 1.224 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/1.137, allocations: 215.5 kB / 1.224 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.137, allocations: 7.938 kB / 1.224 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008208/1.137, allocations: 237.1 kB / 1.224 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/1.137, allocations: 8.25 kB / 1.224 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.137, allocations: 8 kB / 1.224 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/1.137, allocations: 4 kB / 1.224 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/1.138, allocations: 39.91 kB / 1.224 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/1.138, allocations: 4 kB / 1.224 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/1.138, allocations: 35.7 kB / 1.224 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/1.138, allocations: 8 kB / 1.224 GB, free: 7.562 MB / 0.9825 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.0002158/1.138, allocations: 149.8 kB / 1.224 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/1.139, allocations: 35.61 kB / 1.224 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007515/1.14, allocations: 181.9 kB / 1.225 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/1.14, allocations: 0 / 1.225 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.14, allocations: 4 kB / 1.225 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.14, allocations: 3.938 kB / 1.225 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/1.141, allocations: 0.851 MB / 1.225 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.141, allocations: 0 / 1.225 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/1.142, allocations: 31.86 kB / 1.225 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/1.142, allocations: 4 kB / 1.225 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/1.142, allocations: 4 kB / 1.225 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/1.142, allocations: 3.984 kB / 1.225 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.142, allocations: 0 / 1.225 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/1.143, allocations: 351.4 kB / 1.226 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/1.143, allocations: 112.8 kB / 1.226 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/1.143, allocations: 128 / 1.226 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/1.143, allocations: 19.98 kB / 1.226 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/1.143, allocations: 7.938 kB / 1.226 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/1.143, allocations: 4 kB / 1.226 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003888/1.144, allocations: 241.9 kB / 1.226 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.91e-07/1.144, allocations: 0 / 1.226 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007385/1.144, allocations: 96 kB / 1.226 GB, free: 5.332 MB / 0.9825 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.002036/1.146, allocations: 0.9943 MB / 1.227 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006514/1.147, allocations: 151.8 kB / 1.227 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.147, allocations: 0 / 1.227 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/1.147, allocations: 59.89 kB / 1.227 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.149, allocations: 137.2 kB / 1.228 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006188/1.155, allocations: 2.829 MB / 1.23 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/1.155, allocations: 0.7597 MB / 1.231 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003945/1.156, allocations: 50.95 kB / 1.231 GB, free: 152 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/1.156, allocations: 75.41 kB / 1.231 GB, free: 76 kB / 0.9825 GB Notification: Performance of SimCode: time 1.774e-06/1.156, allocations: 4 kB / 1.231 GB, free: 72 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09523/1.251, allocations: 8.398 MB / 1.239 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000375/1.252, allocations: 245.9 kB / 1.24 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/9.12, allocations: 7.875 kB / 1.24 GB, free: 7.594 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches