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.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.001768/0.001768, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.002278/0.002278, allocations: 165.3 kB / 22.76 MB, free: 1.648 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 1.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.205/3.205, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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|senMasFlo.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=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.26e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2153/0.2153, allocations: 149.5 MB / 1.024 GB, free: 468 kB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.2257, allocations: 6.501 MB / 1.03 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.2263, allocations: 19.81 kB / 1.03 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.227, allocations: 174.7 kB / 1.03 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.2312, allocations: 1.325 MB / 1.031 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.2338, allocations: 0.6892 MB / 1.032 GB, free: 7.723 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.2354, allocations: 0.7328 MB / 1.033 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000707/0.2361, allocations: 227.3 kB / 1.033 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.2387, allocations: 0.8291 MB / 1.034 GB, free: 5.938 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.2399, allocations: 418.8 kB / 1.034 GB, free: 5.527 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.948e-05/0.24, allocations: 28 kB / 1.034 GB, free: 5.5 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.2424, allocations: 1.051 MB / 1.035 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.2426, allocations: 123.6 kB / 1.035 GB, free: 4.324 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.2429, allocations: 127.7 kB / 1.036 GB, free: 4.199 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.2452, allocations: 0.923 MB / 1.036 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2452, allocations: 0 / 1.036 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2452, allocations: 0 / 1.036 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.2453, allocations: 4 kB / 1.036 GB, free: 3.27 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.001465/0.2467, allocations: 0.629 MB / 1.037 GB, free: 2.605 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2468, allocations: 8.031 kB / 1.037 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.248, allocations: 187.2 kB / 1.037 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.2487, allocations: 280 kB / 1.037 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.2488, allocations: 76 kB / 1.038 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.2489, allocations: 35.98 kB / 1.038 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.2497, allocations: 385 kB / 1.038 GB, free: 1.594 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2497, allocations: 4 kB / 1.038 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.2497, allocations: 12 kB / 1.038 GB, free: 1.578 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.2497, allocations: 8 kB / 1.038 GB, free: 1.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.2503, allocations: 269.8 kB / 1.038 GB, free: 1.309 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.002066/0.2524, allocations: 1.09 MB / 1.039 GB, free: 176 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.2529, allocations: 186.6 kB / 1.039 GB, free: 15.98 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.2532, allocations: 112.7 kB / 1.04 GB, free: 15.87 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008713/0.254, allocations: 131.8 kB / 1.04 GB, free: 15.74 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.2541, allocations: 42.5 kB / 1.04 GB, free: 15.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.2541, allocations: 0 / 1.04 GB, free: 15.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.001111/0.2552, allocations: 372 kB / 1.04 GB, free: 15.32 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.2552, allocations: 51.41 kB / 1.04 GB, free: 15.26 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.2558, allocations: 229.9 kB / 1.04 GB, free: 15.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.2558, allocations: 29.7 kB / 1.04 GB, free: 14.99 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.256, allocations: 200.4 kB / 1.041 GB, free: 14.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.2561, allocations: 51.59 kB / 1.041 GB, free: 14.74 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.2562, allocations: 41.7 kB / 1.041 GB, free: 14.69 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.2564, allocations: 330.8 kB / 1.041 GB, free: 14.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.2566, allocations: 91.92 kB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.257, allocations: 223 kB / 1.041 GB, free: 14.01 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.2575, allocations: 237.8 kB / 1.042 GB, free: 13.76 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2575, allocations: 4 kB / 1.042 GB, free: 13.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007277/0.2582, allocations: 289.2 kB / 1.042 GB, free: 13.46 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2582, allocations: 7.938 kB / 1.042 GB, free: 13.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.2582, allocations: 8 kB / 1.042 GB, free: 13.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.2582, allocations: 0 / 1.042 GB, free: 13.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.2585, allocations: 44.16 kB / 1.042 GB, free: 13.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.2585, allocations: 8 kB / 1.042 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.2587, allocations: 27.83 kB / 1.042 GB, free: 13.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.2588, allocations: 11.94 kB / 1.042 GB, free: 13.36 MB / 1.01 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.0002036/0.259, allocations: 145.8 kB / 1.042 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.2591, allocations: 43.72 kB / 1.042 GB, free: 13.16 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/0.2599, allocations: 299.1 kB / 1.042 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2599, allocations: 8 kB / 1.042 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2599, allocations: 0 / 1.042 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.2599, allocations: 3.984 kB / 1.042 GB, free: 12.85 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.2614, allocations: 0.7065 MB / 1.043 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.2614, allocations: 8.219 kB / 1.043 GB, free: 12.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.2616, allocations: 31.97 kB / 1.043 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.2616, allocations: 4 kB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.2617, allocations: 8 kB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.2617, allocations: 4 kB / 1.043 GB, free: 12.03 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.2617, allocations: 7.875 kB / 1.043 GB, free: 12.02 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.2624, allocations: 401.1 kB / 1.044 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.2626, allocations: 51.75 kB / 1.044 GB, free: 11.54 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.2626, allocations: 12 kB / 1.044 GB, free: 11.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2629, allocations: 11.98 kB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.2629, allocations: 19.92 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.263, allocations: 11.98 kB / 1.044 GB, free: 11.49 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001933/0.2632, allocations: 165.2 kB / 1.044 GB, free: 11.32 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.2632, allocations: 0 / 1.044 GB, free: 11.32 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006326/0.2638, allocations: 131.6 kB / 1.044 GB, free: 11.2 MB / 1.01 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.0006261/0.2644, allocations: 230.9 kB / 1.044 GB, free: 10.96 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000576/0.265, allocations: 211.8 kB / 1.044 GB, free: 10.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.265, allocations: 4 kB / 1.044 GB, free: 10.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.2653, allocations: 119.7 kB / 1.044 GB, free: 10.63 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.266, allocations: 97.34 kB / 1.045 GB, free: 10.54 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.2674, allocations: 0.5822 MB / 1.045 GB, free: 9.902 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.2677, allocations: 175.5 kB / 1.045 GB, free: 9.711 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002759/0.2679, allocations: 69.86 kB / 1.045 GB, free: 9.645 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.268, allocations: 28.48 kB / 1.045 GB, free: 9.617 MB / 1.01 GB Notification: Performance of SimCode: time 9.52e-07/0.268, allocations: 0 / 1.045 GB, free: 9.617 MB / 1.01 GB Notification: Performance of Templates: time 0.01383/0.2819, allocations: 5.965 MB / 1.051 GB, free: 3.762 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.116476672003046]