Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001538/0.001538, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001057/0.001057, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.036/1.036, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.922/1.922, allocations: 377.8 MB / 0.6239 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.918e-05, allocations: 6.25 kB / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.00215/0.002179, allocations: 0.8401 MB / 0.8124 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.003657, allocations: 1.057 MB / 0.8135 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.003733, allocations: 3.938 kB / 0.8135 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.003856, allocations: 17.39 kB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.003913, allocations: 15.81 kB / 0.8135 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.004425, allocations: 100.9 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.004605, allocations: 127.6 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.004763, allocations: 34.64 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.004879, allocations: 63.88 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.004954, allocations: 47.88 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.004984, allocations: 15.98 kB / 0.8139 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.005141, allocations: 88.38 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.005207, allocations: 35.92 kB / 0.814 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.005261, allocations: 44.55 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.005546, allocations: 179.3 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005549, allocations: 0.5 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00555, allocations: 1.594 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.005556, allocations: 0 / 0.8142 GB, free: 15.36 MB / 0.7761 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.000678/0.006234, allocations: 492.4 kB / 0.8147 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.006286, allocations: 8.031 kB / 0.8147 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.006365, allocations: 33.55 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.006592, allocations: 147 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.006608, allocations: 8.938 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.00663, allocations: 8.312 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.006997, allocations: 128.7 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.007009, allocations: 5.5 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.007028, allocations: 4.375 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.007042, allocations: 4.375 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.007153, allocations: 31.92 kB / 0.815 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007591/0.007912, allocations: 425.1 kB / 0.8154 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.008013, allocations: 51.05 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.008083, allocations: 29.97 kB / 0.8155 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.498e-05/0.008138, allocations: 11.98 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.008168, allocations: 37.33 kB / 0.8156 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.00817, allocations: 0 / 0.8156 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.000387/0.008556, allocations: 161.7 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.008599, allocations: 55.41 kB / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.008752, allocations: 205.2 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.00877, allocations: 25.7 kB / 0.816 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.008851, allocations: 163.2 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.008919, allocations: 71.47 kB / 0.8162 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.008991, allocations: 43.34 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.009154, allocations: 0.504 MB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.009215, allocations: 16 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.009276, allocations: 31.92 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.009418, allocations: 75.14 kB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00942, allocations: 0 / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002184/0.009638, allocations: 123.7 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.009656, allocations: 4.5 kB / 0.817 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.009672, allocations: 0 / 0.817 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.009688, allocations: 0.5625 kB / 0.817 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.00983, allocations: 20.55 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.009836, allocations: 1.266 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.009923, allocations: 31.86 kB / 0.817 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.009949, allocations: 4.906 kB / 0.817 GB, free: 12.26 MB / 0.7761 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.0001218/0.01007, allocations: 168.6 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.01011, allocations: 19.91 kB / 0.8172 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.01042, allocations: 150.8 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.01042, allocations: 4 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01043, allocations: 0 / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01043, allocations: 0.8125 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.01065, allocations: 188.3 kB / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.01065, allocations: 4.938 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.01076, allocations: 19.98 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01077, allocations: 5.203 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.01078, allocations: 3.938 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01078, allocations: 80 / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.01079, allocations: 4.953 kB / 0.8176 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.01107, allocations: 286.6 kB / 0.8179 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.01109, allocations: 15.91 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.01112, allocations: 8.953 kB / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.01124, allocations: 13.02 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.01131, allocations: 11.98 kB / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01132, allocations: 8 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.046e-05/0.01141, allocations: 150 kB / 0.8181 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01141, allocations: 0 / 0.8181 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003389/0.01174, allocations: 43.94 kB / 0.8181 GB, free: 11.11 MB / 0.7761 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.0002449/0.01199, allocations: 129.2 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.01227, allocations: 155 kB / 0.8184 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01227, allocations: 1.031 kB / 0.8184 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.01241, allocations: 123 kB / 0.8185 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.0128, allocations: 32.73 kB / 0.8185 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.01342, allocations: 292.5 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.466e-05/0.01348, allocations: 79.33 kB / 0.8189 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.94e-05/0.01355, allocations: 13.72 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.0136, allocations: 20.5 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of SimCode: time 9.72e-07/0.0136, allocations: 0.5 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.005674/0.01927, allocations: 2.177 MB / 0.821 GB, free: 8.086 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.363875035196543]