Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008133/0.0008133, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007692/0.0007692, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9004/0.9004, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.938e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6116/0.6116, allocations: 149.4 MB / 1.098 GB, free: 39.1 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005434/0.6171, allocations: 6.53 MB / 1.104 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005101/0.6176, allocations: 24.31 kB / 1.104 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.6182, allocations: 175.8 kB / 1.104 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003483/0.6216, allocations: 1.331 MB / 1.106 GB, free: 36.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.6234, allocations: 0.7004 MB / 1.106 GB, free: 36.6 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000969/0.6244, allocations: 0.7567 MB / 1.107 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.6247, allocations: 235.1 kB / 1.107 GB, free: 36.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.6258, allocations: 0.6834 MB / 1.108 GB, free: 35.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.6266, allocations: 428.7 kB / 1.108 GB, free: 35.83 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.262e-05/0.6266, allocations: 26.53 kB / 1.108 GB, free: 35.83 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.6286, allocations: 1.06 MB / 1.109 GB, free: 35.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.6287, allocations: 120.3 kB / 1.109 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.6288, allocations: 125.8 kB / 1.11 GB, free: 35.48 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.6303, allocations: 0.925 MB / 1.11 GB, free: 35.25 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6303, allocations: 5.312 kB / 1.11 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6303, allocations: 0 / 1.11 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.6303, allocations: 0 / 1.11 GB, free: 35.24 MB / 0.9948 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.0008165/0.6312, allocations: 0.6263 MB / 1.111 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6312, allocations: 10.34 kB / 1.111 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000592/0.6318, allocations: 132 kB / 1.111 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.6322, allocations: 277 kB / 1.111 GB, free: 34.54 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.6323, allocations: 75.44 kB / 1.112 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.6323, allocations: 30.47 kB / 1.112 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.6328, allocations: 392.2 kB / 1.112 GB, free: 34.25 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.6328, allocations: 0 / 1.112 GB, free: 34.25 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.6329, allocations: 16.08 kB / 1.112 GB, free: 34.24 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.6329, allocations: 6.719 kB / 1.112 GB, free: 34.24 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.6332, allocations: 269 kB / 1.112 GB, free: 34.16 MB / 0.9948 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.001175/0.6344, allocations: 1.072 MB / 1.113 GB, free: 33.41 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.6347, allocations: 183.3 kB / 1.113 GB, free: 33.34 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.6348, allocations: 110.2 kB / 1.114 GB, free: 33.31 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004596/0.6353, allocations: 136.1 kB / 1.114 GB, free: 33.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.6353, allocations: 36 kB / 1.114 GB, free: 33.25 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.6353, allocations: 0 / 1.114 GB, free: 33.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0006587/0.636, allocations: 360.2 kB / 1.114 GB, free: 33.12 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.636, allocations: 53.39 kB / 1.114 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.6362, allocations: 231.8 kB / 1.114 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.6362, allocations: 29.98 kB / 1.114 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.6363, allocations: 205.1 kB / 1.115 GB, free: 32.72 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.6363, allocations: 50.55 kB / 1.115 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.6364, allocations: 48.44 kB / 1.115 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.6364, allocations: 335.1 kB / 1.115 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.6366, allocations: 87.94 kB / 1.115 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.6367, allocations: 232.9 kB / 1.115 GB, free: 32.12 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.637, allocations: 233.4 kB / 1.116 GB, free: 32 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.637, allocations: 0 / 1.116 GB, free: 32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003748/0.6374, allocations: 282.2 kB / 1.116 GB, free: 31.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6374, allocations: 9.906 kB / 1.116 GB, free: 31.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6374, allocations: 2.344 kB / 1.116 GB, free: 31.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.6374, allocations: 2.25 kB / 1.116 GB, free: 31.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.6375, allocations: 43 kB / 1.116 GB, free: 31.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.6375, allocations: 2.219 kB / 1.116 GB, free: 31.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.6377, allocations: 28.14 kB / 1.116 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.6377, allocations: 14.36 kB / 1.116 GB, free: 31.86 MB / 0.9948 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.0001161/0.6378, allocations: 149.3 kB / 1.116 GB, free: 31.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.6379, allocations: 23.28 kB / 1.116 GB, free: 31.72 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.6383, allocations: 315.3 kB / 1.116 GB, free: 31.59 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6383, allocations: 2.281 kB / 1.116 GB, free: 31.59 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6384, allocations: 6.016 kB / 1.116 GB, free: 31.59 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6384, allocations: 0.6562 kB / 1.116 GB, free: 31.59 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/0.6392, allocations: 0.7065 MB / 1.117 GB, free: 31.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6392, allocations: 1.375 kB / 1.117 GB, free: 31.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.986e-05/0.6393, allocations: 45.52 kB / 1.117 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6393, allocations: 2.312 kB / 1.117 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.6393, allocations: 5.172 kB / 1.117 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.6393, allocations: 4.109 kB / 1.117 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6393, allocations: 1.344 kB / 1.117 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.6397, allocations: 398.5 kB / 1.117 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.6398, allocations: 51.03 kB / 1.118 GB, free: 30.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.6398, allocations: 3.281 kB / 1.118 GB, free: 30.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.6399, allocations: 21.19 kB / 1.118 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.6399, allocations: 24.19 kB / 1.118 GB, free: 30.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.64, allocations: 13.69 kB / 1.118 GB, free: 30.83 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.573e-05/0.6401, allocations: 167.3 kB / 1.118 GB, free: 30.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6401, allocations: 1.219 kB / 1.118 GB, free: 30.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005373/0.6406, allocations: 128.1 kB / 1.118 GB, free: 30.7 MB / 0.9948 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.0004436/0.641, allocations: 221.7 kB / 1.118 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.6414, allocations: 223.2 kB / 1.118 GB, free: 30.52 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6414, allocations: 0 / 1.118 GB, free: 30.52 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.6416, allocations: 113 kB / 1.118 GB, free: 30.48 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.642, allocations: 97.22 kB / 1.119 GB, free: 30.46 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/0.6429, allocations: 0.6179 MB / 1.119 GB, free: 30.05 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.643, allocations: 179 kB / 1.119 GB, free: 29.96 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.6431, allocations: 34.5 kB / 1.119 GB, free: 29.94 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.6431, allocations: 1.375 kB / 1.119 GB, free: 29.94 MB / 0.9948 GB Notification: Performance of Templates: time 0.009094/0.6522, allocations: 5.71 MB / 1.125 GB, free: 29.3 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.732313652522862]