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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008685/0.008685, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.002189/0.002189, allocations: 194.1 kB / 16.79 MB, free: 6.254 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.848/2.848, allocations: 461.9 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 66.66 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3322, allocations: 157.4 MB / 1.053 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1858/0.518, allocations: 167.2 MB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009173/0.5273, allocations: 7.196 MB / 1.223 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.5278, allocations: 15.88 kB / 1.223 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.5284, allocations: 135.1 kB / 1.223 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.5319, allocations: 1.187 MB / 1.224 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.5336, allocations: 0.5792 MB / 1.225 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.535, allocations: 1.057 MB / 1.226 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004924/0.5355, allocations: 250.1 kB / 1.226 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.5368, allocations: 0.5292 MB / 1.227 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.5378, allocations: 426.5 kB / 1.227 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.538e-05/0.5379, allocations: 20 kB / 1.227 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.5406, allocations: 1.469 MB / 1.229 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.5408, allocations: 115.6 kB / 1.229 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.541, allocations: 167.1 kB / 1.229 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.5421, allocations: 0.6199 MB / 1.229 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5421, allocations: 4 kB / 1.229 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.614e-06/0.5421, allocations: 3.984 kB / 1.229 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.5422, allocations: 3.938 kB / 1.229 GB, free: 2.766 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001187/0.5434, allocations: 0.6934 MB / 1.23 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5434, allocations: 12.03 kB / 1.23 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.5445, allocations: 127.5 kB / 1.23 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.545, allocations: 325.1 kB / 1.231 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.469e-05/0.545, allocations: 50.25 kB / 1.231 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.5451, allocations: 32 kB / 1.231 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.5458, allocations: 362.2 kB / 1.231 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5458, allocations: 0 / 1.231 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.5459, allocations: 15.94 kB / 1.231 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5459, allocations: 8 kB / 1.231 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.5464, allocations: 278 kB / 1.231 GB, free: 0.7734 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.5484, allocations: 1.492 MB / 1.233 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.5488, allocations: 194.5 kB / 1.233 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.5491, allocations: 116.8 kB / 1.233 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.5501, allocations: 0.5053 MB / 1.234 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.5502, allocations: 34.56 kB / 1.234 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.5502, allocations: 0 / 1.234 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000996/0.5512, allocations: 360.1 kB / 1.234 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.5512, allocations: 51.41 kB / 1.234 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.5516, allocations: 320.5 kB / 1.234 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.5516, allocations: 29.7 kB / 1.234 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.5517, allocations: 188.1 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.5518, allocations: 51.19 kB / 1.235 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.571e-05/0.5519, allocations: 45.7 kB / 1.235 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.552, allocations: 346.7 kB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.5523, allocations: 83.94 kB / 1.235 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.5525, allocations: 155.6 kB / 1.235 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.553, allocations: 235.3 kB / 1.235 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.553, allocations: 3.938 kB / 1.235 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005949/0.5536, allocations: 285.8 kB / 1.236 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5536, allocations: 13.89 kB / 1.236 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5536, allocations: 8 kB / 1.236 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5536, allocations: 0 / 1.236 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.5539, allocations: 39.92 kB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.5539, allocations: 4 kB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.5541, allocations: 31.81 kB / 1.236 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.5542, allocations: 12 kB / 1.236 GB, free: 11.89 MB / 0.9981 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.0001711/0.5544, allocations: 161.6 kB / 1.236 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5545, allocations: 31.62 kB / 1.236 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/0.5552, allocations: 308.1 kB / 1.236 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5552, allocations: 4 kB / 1.236 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5552, allocations: 0 / 1.236 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5553, allocations: 7.984 kB / 1.236 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.5566, allocations: 0.8044 MB / 1.237 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5566, allocations: 0 / 1.237 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.5568, allocations: 35.98 kB / 1.237 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.5568, allocations: 0 / 1.237 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.5568, allocations: 11.88 kB / 1.237 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.5569, allocations: 4 kB / 1.237 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5569, allocations: 4 kB / 1.237 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.5575, allocations: 405.1 kB / 1.237 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.5576, allocations: 140.6 kB / 1.238 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.5577, allocations: 7.938 kB / 1.238 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.558, allocations: 24.02 kB / 1.238 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.558, allocations: 15.97 kB / 1.238 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.5581, allocations: 12.09 kB / 1.238 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002222/0.5583, allocations: 235 kB / 1.238 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.673e-06/0.5583, allocations: 0 / 1.238 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005568/0.5589, allocations: 123.8 kB / 1.238 GB, free: 9.43 MB / 0.9981 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.0006117/0.5595, allocations: 229.4 kB / 1.238 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.56, allocations: 211.9 kB / 1.238 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.56, allocations: 0 / 1.238 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.5602, allocations: 119.8 kB / 1.239 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.5611, allocations: 165.6 kB / 1.239 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.5623, allocations: 0.7294 MB / 1.239 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.5627, allocations: 0.7836 MB / 1.24 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5629, allocations: 35.44 kB / 1.24 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.5629, allocations: 0 / 1.24 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of Templates: time 0.009971/0.5728, allocations: 6.239 MB / 1.246 GB, free: 0.8945 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/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