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.005023/0.005024, allocations: 98.06 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.001397/0.001397, allocations: 197 kB / 16.68 MB, free: 5.93 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.4/2.4, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 63.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5896/0.5913, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.154/0.7453, allocations: 163.2 MB / 1.38 GB, free: 14.14 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005017/0.7503, allocations: 4.572 MB / 1.384 GB, free: 9.555 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.7506, allocations: 7.938 kB / 1.384 GB, free: 9.547 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.7509, allocations: 127 kB / 1.384 GB, free: 9.422 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.7519, allocations: 0.5406 MB / 1.385 GB, free: 8.879 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.7534, allocations: 0.7737 MB / 1.385 GB, free: 8.105 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005566/0.754, allocations: 0.5729 MB / 1.386 GB, free: 7.527 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.7543, allocations: 213.1 kB / 1.386 GB, free: 7.316 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007147/0.755, allocations: 470.2 kB / 1.387 GB, free: 6.855 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.7555, allocations: 283 kB / 1.387 GB, free: 6.578 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.7555, allocations: 23.94 kB / 1.387 GB, free: 6.555 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.7568, allocations: 0.9977 MB / 1.388 GB, free: 5.555 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-05/0.7569, allocations: 87.72 kB / 1.388 GB, free: 5.469 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.7571, allocations: 131.4 kB / 1.388 GB, free: 5.34 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008709/0.758, allocations: 0.7164 MB / 1.389 GB, free: 4.625 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.758, allocations: 0 / 1.389 GB, free: 4.625 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.82e-07/0.758, allocations: 0 / 1.389 GB, free: 4.625 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.758, allocations: 0 / 1.389 GB, free: 4.625 MB / 1.107 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.0007715/0.7588, allocations: 0.595 MB / 1.389 GB, free: 3.98 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.7588, allocations: 12.03 kB / 1.389 GB, free: 3.969 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.7589, allocations: 54.48 kB / 1.39 GB, free: 3.906 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005579/0.7594, allocations: 83.67 kB / 1.39 GB, free: 3.824 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.7598, allocations: 311.4 kB / 1.39 GB, free: 3.48 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.7598, allocations: 16 kB / 1.39 GB, free: 3.465 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.7599, allocations: 16 kB / 1.39 GB, free: 3.449 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.7603, allocations: 291.4 kB / 1.39 GB, free: 3.137 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7603, allocations: 0 / 1.39 GB, free: 3.137 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.7603, allocations: 15.94 kB / 1.39 GB, free: 3.121 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7604, allocations: 4 kB / 1.39 GB, free: 3.117 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.7608, allocations: 203.8 kB / 1.39 GB, free: 2.918 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.7621, allocations: 1.253 MB / 1.392 GB, free: 1.586 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.7624, allocations: 173 kB / 1.392 GB, free: 1.371 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.7626, allocations: 112.4 kB / 1.392 GB, free: 1.246 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/0.7633, allocations: 331.2 kB / 1.392 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.7633, allocations: 42.55 kB / 1.392 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 2.786e-06/0.7633, allocations: 0 / 1.392 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0006706/0.764, allocations: 281.1 kB / 1.393 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.7641, allocations: 154.2 kB / 1.393 GB, free: 356 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.7643, allocations: 295.4 kB / 1.393 GB, free: 56 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.7644, allocations: 33.7 kB / 1.393 GB, free: 16 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.7645, allocations: 148 kB / 1.393 GB, free: 15.87 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.7645, allocations: 43.59 kB / 1.393 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.7646, allocations: 37.72 kB / 1.393 GB, free: 15.78 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7647, allocations: 342.8 kB / 1.394 GB, free: 15.44 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.7649, allocations: 67.94 kB / 1.394 GB, free: 15.37 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.7651, allocations: 144.5 kB / 1.394 GB, free: 15.2 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.7655, allocations: 211.5 kB / 1.394 GB, free: 14.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7655, allocations: 4 kB / 1.394 GB, free: 14.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004708/0.766, allocations: 241.2 kB / 1.394 GB, free: 14.72 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.766, allocations: 9.719 kB / 1.394 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.766, allocations: 384 / 1.394 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.766, allocations: 4 kB / 1.394 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.7662, allocations: 39.91 kB / 1.394 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.7662, allocations: 4 kB / 1.394 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.7664, allocations: 47.89 kB / 1.394 GB, free: 14.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.7664, allocations: 8 kB / 1.394 GB, free: 14.61 MB / 1.123 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.0001205/0.7665, allocations: 145.8 kB / 1.394 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7667, allocations: 27.81 kB / 1.394 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.7671, allocations: 189.9 kB / 1.395 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7671, allocations: 0 / 1.395 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7671, allocations: 4 kB / 1.395 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7671, allocations: 3.938 kB / 1.395 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/0.768, allocations: 0.8549 MB / 1.395 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.768, allocations: 4 kB / 1.395 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.7681, allocations: 27.91 kB / 1.395 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.7682, allocations: 8.141 kB / 1.396 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.7682, allocations: 4 kB / 1.396 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7682, allocations: 7.984 kB / 1.396 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7682, allocations: 0 / 1.396 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.7687, allocations: 339.6 kB / 1.396 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/0.7688, allocations: 112.8 kB / 1.396 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.7688, allocations: 4 kB / 1.396 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.769, allocations: 11.98 kB / 1.396 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.769, allocations: 11.94 kB / 1.396 GB, free: 12.72 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.7691, allocations: 8.062 kB / 1.396 GB, free: 12.71 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002212/0.7693, allocations: 233.9 kB / 1.396 GB, free: 12.48 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7693, allocations: 0 / 1.396 GB, free: 12.48 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003571/0.7696, allocations: 103.8 kB / 1.396 GB, free: 12.38 MB / 1.123 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.001106/0.7708, allocations: 0.9899 MB / 1.397 GB, free: 11.36 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.7711, allocations: 155.7 kB / 1.397 GB, free: 11.2 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7711, allocations: 0 / 1.397 GB, free: 11.2 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.7713, allocations: 68.58 kB / 1.397 GB, free: 11.14 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/0.7719, allocations: 134.2 kB / 1.398 GB, free: 11.01 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.775, allocations: 2.76 MB / 1.4 GB, free: 8.094 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.7753, allocations: 0.7597 MB / 1.401 GB, free: 7.309 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.7755, allocations: 66.86 kB / 1.401 GB, free: 7.242 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.7756, allocations: 79.41 kB / 1.401 GB, free: 7.168 MB / 1.123 GB Notification: Performance of SimCode: time 2.41e-07/0.7756, allocations: 0 / 1.401 GB, free: 7.168 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.258/2.033, allocations: 8.61 MB / 1.41 GB, free: 14.71 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/18.36, allocations: 6.562 kB / 1.41 GB, free: 14.71 MB / 1.139 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 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.mat","/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