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.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: 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.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00179/0.00179, allocations: 192.4 kB / 16.13 MB, free: 6.645 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 65.78 kB / 0.8984 GB, free: 37.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1857/0.4899, allocations: 167.2 MB / 1.215 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009146/0.4991, allocations: 7.204 MB / 1.222 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006481/0.4998, allocations: 7.938 kB / 1.222 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007151/0.5006, allocations: 139.1 kB / 1.223 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.5041, allocations: 1.191 MB / 1.224 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.5058, allocations: 0.5759 MB / 1.224 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.5071, allocations: 1.053 MB / 1.225 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.5076, allocations: 255.1 kB / 1.226 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.5089, allocations: 0.5253 MB / 1.226 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009263/0.5098, allocations: 430.5 kB / 1.226 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.833e-05/0.5099, allocations: 20 kB / 1.226 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.5124, allocations: 1.469 MB / 1.228 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.5126, allocations: 115.6 kB / 1.228 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.5129, allocations: 171.2 kB / 1.228 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.515, allocations: 0.97 MB / 1.229 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.515, allocations: 0 / 1.229 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.515, allocations: 0 / 1.229 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.098e-05/0.5151, allocations: 0 / 1.229 GB, free: 2.883 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.001217/0.5163, allocations: 0.7012 MB / 1.23 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5163, allocations: 8.031 kB / 1.23 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.5175, allocations: 119.5 kB / 1.23 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.518, allocations: 333.2 kB / 1.23 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.542e-05/0.5181, allocations: 46.27 kB / 1.23 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.5182, allocations: 24 kB / 1.23 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.5188, allocations: 370.1 kB / 1.231 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.5189, allocations: 0 / 1.231 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.5189, allocations: 19.94 kB / 1.231 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.5189, allocations: 8 kB / 1.231 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.5195, allocations: 274 kB / 1.231 GB, free: 0.8906 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.002068/0.5216, allocations: 1.489 MB / 1.232 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.522, allocations: 198.5 kB / 1.233 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.5223, allocations: 116.8 kB / 1.233 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.5234, allocations: 0.5014 MB / 1.233 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5234, allocations: 38.5 kB / 1.233 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.5234, allocations: 3.938 kB / 1.233 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0009774/0.5244, allocations: 359.4 kB / 1.234 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.5245, allocations: 55.41 kB / 1.234 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.5248, allocations: 312.5 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.5249, allocations: 33.7 kB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.525, allocations: 188 kB / 1.234 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.5251, allocations: 55.2 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.5252, allocations: 41.7 kB / 1.234 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5253, allocations: 338.8 kB / 1.235 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.5255, allocations: 87.92 kB / 1.235 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.5258, allocations: 153.8 kB / 1.235 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.5263, allocations: 240.6 kB / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5263, allocations: 0 / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006384/0.527, allocations: 293 kB / 1.235 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.527, allocations: 4 kB / 1.235 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.527, allocations: 4 kB / 1.235 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.527, allocations: 4 kB / 1.235 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.5273, allocations: 39.97 kB / 1.235 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.5273, allocations: 7.938 kB / 1.235 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.5276, allocations: 35.98 kB / 1.235 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.5276, allocations: 15.98 kB / 1.235 GB, free: 11.99 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.0001816/0.5278, allocations: 153.7 kB / 1.236 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5279, allocations: 27.62 kB / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/0.5287, allocations: 320.1 kB / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5287, allocations: 3.938 kB / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5287, allocations: 0 / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5287, allocations: 0 / 1.236 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.5302, allocations: 0.8083 MB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5302, allocations: 0 / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.5304, allocations: 35.97 kB / 1.237 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.5304, allocations: 4 kB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.5304, allocations: 11.94 kB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5304, allocations: 0 / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.5304, allocations: 7.938 kB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.5311, allocations: 401.1 kB / 1.237 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.5313, allocations: 140.6 kB / 1.237 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.5313, allocations: 11.94 kB / 1.237 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.5316, allocations: 15.98 kB / 1.237 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.5317, allocations: 27.97 kB / 1.237 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.5318, allocations: 8 kB / 1.237 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002381/0.532, allocations: 227 kB / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.532, allocations: 0 / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006302/0.5326, allocations: 115.8 kB / 1.238 GB, free: 9.551 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.0008229/0.5335, allocations: 232.8 kB / 1.238 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005978/0.5341, allocations: 219.7 kB / 1.238 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5341, allocations: 0 / 1.238 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.5344, allocations: 119.8 kB / 1.238 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009358/0.5353, allocations: 157.7 kB / 1.238 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.5366, allocations: 0.6965 MB / 1.239 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.537, allocations: 0.7836 MB / 1.24 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003691/0.5374, allocations: 83 kB / 1.24 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5375, allocations: 39.42 kB / 1.24 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.5375, allocations: 0 / 1.24 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of Templates: time 0.01391/0.5514, allocations: 6.996 MB / 1.247 GB, free: 252 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches