Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.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.001428/0.001428, allocations: 93.06 kB / 19.65 MB, free: 280 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.001823/0.001823, allocations: 169 kB / 23.02 MB, free: 1.547 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.9247/0.9247, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.011/2.011, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sorAsc.u.[0-9,]+.|sorAsc.y.[0-9,]+.|sorDes.y.[0-9,]+.|sorAsc.yIdx.[0-9,]+.|sorDes.yIdx.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sorAsc.u.[0-9,]+.|sorAsc.y.[0-9,]+.|sorDes.y.[0-9,]+.|sorAsc.yIdx.[0-9,]+.|sorDes.yIdx.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8782 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.861e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001681/0.001709, allocations: 0.8425 MB / 0.8791 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.002842, allocations: 1.062 MB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.002912, allocations: 0 / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.003047, allocations: 12.36 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-05/0.003099, allocations: 33.56 kB / 0.8801 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.003544, allocations: 91.77 kB / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.003689, allocations: 123.6 kB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.003817, allocations: 34.56 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.868e-05/0.003905, allocations: 79.8 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.003965, allocations: 39.89 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.003989, allocations: 13.09 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.004131, allocations: 91.84 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.004188, allocations: 43.83 kB / 0.8806 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.00423, allocations: 32.58 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.004447, allocations: 179.3 kB / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004449, allocations: 0.7188 kB / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00445, allocations: 0 / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.004454, allocations: 3.719 kB / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005628/0.005017, allocations: 499.7 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.005064, allocations: 8.031 kB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.005127, allocations: 24.78 kB / 0.8814 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.005291, allocations: 162.1 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.005301, allocations: 4.375 kB / 0.8815 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.005316, allocations: 12.36 kB / 0.8815 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.005575, allocations: 117.3 kB / 0.8816 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005584, allocations: 8.125 kB / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.005599, allocations: 384 / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.005609, allocations: 1.406 kB / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.005685, allocations: 39.92 kB / 0.8817 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.006172, allocations: 432.5 kB / 0.8821 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.227e-05/0.006254, allocations: 44.66 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.006311, allocations: 35.67 kB / 0.8822 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.184e-05/0.006373, allocations: 4 kB / 0.8822 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.006394, allocations: 37.39 kB / 0.8822 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.303e-06/0.006395, allocations: 2.656 kB / 0.8822 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0002557/0.006651, allocations: 165.6 kB / 0.8824 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.006682, allocations: 55.47 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.006786, allocations: 207.9 kB / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.006799, allocations: 25.7 kB / 0.8827 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.006867, allocations: 163.2 kB / 0.8828 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.006921, allocations: 71.39 kB / 0.8829 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.006978, allocations: 45.23 kB / 0.8829 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.007134, allocations: 0.5 MB / 0.8834 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.814e-05/0.007182, allocations: 23.98 kB / 0.8834 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/0.007218, allocations: 16 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.007321, allocations: 75.67 kB / 0.8835 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.007323, allocations: 0.7188 kB / 0.8835 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001611/0.007484, allocations: 122.3 kB / 0.8836 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.007501, allocations: 9.656 kB / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.007521, allocations: 0 / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.007537, allocations: 0 / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.00765, allocations: 27.97 kB / 0.8837 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.007656, allocations: 0.5938 kB / 0.8837 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.007712, allocations: 28.81 kB / 0.8837 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.007738, allocations: 7.938 kB / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001141/0.007853, allocations: 169.2 kB / 0.8839 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.007878, allocations: 15.91 kB / 0.8839 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.00809, allocations: 162.6 kB / 0.884 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008093, allocations: 0 / 0.884 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.008097, allocations: 0 / 0.884 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.0081, allocations: 4 kB / 0.884 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.008249, allocations: 180.4 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.008261, allocations: 4 kB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.008324, allocations: 19.98 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.008326, allocations: 4 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.008336, allocations: 7.984 kB / 0.8842 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008338, allocations: 0 / 0.8842 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008339, allocations: 0 / 0.8842 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.008546, allocations: 283.7 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.008558, allocations: 11.91 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.008573, allocations: 4 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.008631, allocations: 11.98 kB / 0.8845 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.008686, allocations: 19.98 kB / 0.8846 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.008695, allocations: 7.984 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.008748, allocations: 149.4 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008748, allocations: 0 / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001841/0.008932, allocations: 39.89 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001519/0.009084, allocations: 128.9 kB / 0.8849 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.009307, allocations: 150.9 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.00931, allocations: 4 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.009393, allocations: 119.1 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.009614, allocations: 31.86 kB / 0.8852 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.01003, allocations: 303.3 kB / 0.8855 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.01009, allocations: 79.31 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.467e-05/0.01013, allocations: 19.92 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.01017, allocations: 12.5 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of SimCode: time 1.272e-06/0.01018, allocations: 0 / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of Templates: time 0.004279/0.01445, allocations: 2.368 MB / 0.8879 GB, free: 12.04 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.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.3960865694098175]