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.0013/0.0013, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009524/0.0009524, allocations: 181 kB / 23.35 MB, free: 1.137 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.9519/0.9519, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 2.442/2.442, allocations: 438.8 MB / 0.6827 GB, free: 13.53 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.813e-06/1.813e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.462e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2043/0.2043, allocations: 146.2 MB / 0.9814 GB, free: 11.38 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.2072, allocations: 2.305 MB / 0.9836 GB, free: 9.066 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.2074, allocations: 19.81 kB / 0.9837 GB, free: 9.047 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.2078, allocations: 87.27 kB / 0.9837 GB, free: 8.961 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.2092, allocations: 0.6567 MB / 0.9844 GB, free: 8.301 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009866/0.2101, allocations: 0.4986 MB / 0.9849 GB, free: 7.801 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007051/0.2108, allocations: 0.7288 MB / 0.9856 GB, free: 7.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.2112, allocations: 214.2 kB / 0.9858 GB, free: 6.863 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.2117, allocations: 383 kB / 0.9861 GB, free: 6.488 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.2123, allocations: 394.8 kB / 0.9865 GB, free: 6.102 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.000361/0.2126, allocations: 24 kB / 0.9865 GB, free: 6.078 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.2134, allocations: 486.7 kB / 0.987 GB, free: 5.602 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2136, allocations: 119.6 kB / 0.9871 GB, free: 5.484 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2137, allocations: 131.7 kB / 0.9872 GB, free: 5.355 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.2143, allocations: 0.5295 MB / 0.9878 GB, free: 4.824 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2143, allocations: 0 / 0.9878 GB, free: 4.824 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2143, allocations: 4 kB / 0.9878 GB, free: 4.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2143, allocations: 0 / 0.9878 GB, free: 4.82 MB / 0.948 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.0005688/0.2148, allocations: 0.5499 MB / 0.9883 GB, free: 4.246 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2149, allocations: 8.625 kB / 0.9883 GB, free: 4.238 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006228/0.2155, allocations: 180.3 kB / 0.9885 GB, free: 4.062 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.2158, allocations: 268.5 kB / 0.9887 GB, free: 3.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.2159, allocations: 72.62 kB / 0.9888 GB, free: 3.684 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.2159, allocations: 31.94 kB / 0.9888 GB, free: 3.652 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.2162, allocations: 292.4 kB / 0.9891 GB, free: 3.336 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2162, allocations: 0 / 0.9891 GB, free: 3.336 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2162, allocations: 12 kB / 0.9891 GB, free: 3.324 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2163, allocations: 11.98 kB / 0.9891 GB, free: 3.312 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.2164, allocations: 90.22 kB / 0.9892 GB, free: 3.227 MB / 0.948 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.0009029/0.2173, allocations: 0.8615 MB / 0.9901 GB, free: 2.332 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.2174, allocations: 122.9 kB / 0.9902 GB, free: 2.199 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.2175, allocations: 42.7 kB / 0.9902 GB, free: 2.156 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.2177, allocations: 71.92 kB / 0.9903 GB, free: 2.086 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.2178, allocations: 30.56 kB / 0.9903 GB, free: 2.047 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2178, allocations: 0 / 0.9903 GB, free: 2.047 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0003124/0.2181, allocations: 129.5 kB / 0.9905 GB, free: 1.914 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.2181, allocations: 55.41 kB / 0.9905 GB, free: 1.848 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.2182, allocations: 221 kB / 0.9907 GB, free: 1.621 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.2183, allocations: 29.7 kB / 0.9907 GB, free: 1.586 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.2183, allocations: 176.9 kB / 0.9909 GB, free: 1.406 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.2184, allocations: 55.52 kB / 0.991 GB, free: 1.352 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.2184, allocations: 37.69 kB / 0.991 GB, free: 1.309 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.2185, allocations: 346.6 kB / 0.9913 GB, free: 0.9609 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.2185, allocations: 18.81 kB / 0.9914 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.2186, allocations: 151.1 kB / 0.9915 GB, free: 0.7539 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2187, allocations: 99.55 kB / 0.9916 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2187, allocations: 0 / 0.9916 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001777/0.2189, allocations: 128.3 kB / 0.9917 GB, free: 0.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2189, allocations: 8 kB / 0.9917 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2189, allocations: 0 / 0.9917 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2189, allocations: 4 kB / 0.9917 GB, free: 500 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.2191, allocations: 39.92 kB / 0.9918 GB, free: 460 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2191, allocations: 0 / 0.9918 GB, free: 460 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.2191, allocations: 27.81 kB / 0.9918 GB, free: 432 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.2192, allocations: 12 kB / 0.9918 GB, free: 420 kB / 0.948 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 8.321e-05/0.2192, allocations: 124.6 kB / 0.9919 GB, free: 284 kB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.2193, allocations: 24.02 kB / 0.9919 GB, free: 260 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.2195, allocations: 135.2 kB / 0.9921 GB, free: 116 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2195, allocations: 4 kB / 0.9921 GB, free: 112 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2195, allocations: 3.984 kB / 0.9921 GB, free: 108 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2195, allocations: 48 / 0.9921 GB, free: 108 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.2201, allocations: 0.5194 MB / 0.9926 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.2201, allocations: 4 kB / 0.9926 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.2202, allocations: 28.2 kB / 0.9926 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.2202, allocations: 7.938 kB / 0.9926 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2202, allocations: 8 kB / 0.9926 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.2202, allocations: 4 kB / 0.9926 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.2202, allocations: 7.938 kB / 0.9926 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.2204, allocations: 299.9 kB / 0.9929 GB, free: 15.13 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.2205, allocations: 35.78 kB / 0.993 GB, free: 15.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2205, allocations: 7.938 kB / 0.993 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.2206, allocations: 11.98 kB / 0.993 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.2206, allocations: 11.98 kB / 0.993 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2206, allocations: 12 kB / 0.993 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.2207, allocations: 74.77 kB / 0.9931 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.2207, allocations: 0 / 0.9931 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002931/0.221, allocations: 107.7 kB / 0.9932 GB, free: 14.88 MB / 0.9636 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 (15): * Single equations (assignments): 15 * 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.00031/0.2213, allocations: 152.2 kB / 0.9933 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.2217, allocations: 88.94 kB / 0.9934 GB, free: 14.63 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.2217, allocations: 4 kB / 0.9934 GB, free: 14.63 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/0.2218, allocations: 44.72 kB / 0.9935 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.2222, allocations: 105.3 kB / 0.9936 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/0.2231, allocations: 0.537 MB / 0.9941 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.457e-05/0.2232, allocations: 108.2 kB / 0.9942 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000113/0.2233, allocations: 37.88 kB / 0.9942 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.2235, allocations: 131.2 kB / 0.9943 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of SimCode: time 1.012e-06/0.2235, allocations: 4 kB / 0.9943 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of Templates: time 0.008407/0.2319, allocations: 5.536 MB / 0.9998 GB, free: 8.164 MB / 0.9636 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.726118182297796]