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.001025/0.001025, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001166/0.001166, allocations: 181 kB / 24.09 MB, free: 420 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 0.9584/0.9584, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.899/1.899, allocations: 377.9 MB / 0.6239 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] 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.114e-06/2.114e-06, allocations: 0 / 0.8121 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.572e-05, allocations: 3.062 kB / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001744/0.00177, allocations: 0.8394 MB / 0.8129 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003049, allocations: 1.054 MB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.003114, allocations: 3.938 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.00322, allocations: 8.75 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.00327, allocations: 24.56 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.00371, allocations: 109.3 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.003851, allocations: 123.6 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.00398, allocations: 33.28 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.00407, allocations: 67.88 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.004124, allocations: 45.42 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.004145, allocations: 8 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.004284, allocations: 91.89 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.004337, allocations: 43.84 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.004373, allocations: 36.36 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.004594, allocations: 179.3 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004597, allocations: 0.8438 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004598, allocations: 3.938 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004602, allocations: 4.688 kB / 0.8147 GB, free: 14.73 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.0004937/0.005096, allocations: 493.3 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.005134, allocations: 12.03 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.005181, allocations: 24.8 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005327, allocations: 158.9 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.005337, allocations: 4.375 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.005349, allocations: 8.375 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.005562, allocations: 115.4 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.005569, allocations: 192 / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.00558, allocations: 4.891 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005587, allocations: 4.375 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.005634, allocations: 27.89 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.006083, allocations: 394.2 kB / 0.8159 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/0.006153, allocations: 46.98 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.006188, allocations: 31.62 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.006239, allocations: 4.594 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.006263, allocations: 37.39 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.006265, allocations: 4.594 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0002277/0.006493, allocations: 147.6 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.006524, allocations: 55.41 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.006625, allocations: 205.5 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.006639, allocations: 29.64 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.006701, allocations: 163.2 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.006751, allocations: 72.75 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.006801, allocations: 39.34 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.006947, allocations: 0.5117 MB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.006979, allocations: 15.94 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.007007, allocations: 24.8 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.007077, allocations: 63.66 kB / 0.8173 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.007078, allocations: 0 / 0.8173 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001267/0.007205, allocations: 111.9 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.007218, allocations: 8 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.007232, allocations: 4.734 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.007245, allocations: 0 / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.007328, allocations: 24.92 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.007331, allocations: 0 / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.007382, allocations: 29.03 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.0074, allocations: 4 kB / 0.8174 GB, free: 11.72 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 9.042e-05/0.007491, allocations: 167.6 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.007514, allocations: 19.91 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.007691, allocations: 138.8 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.007694, allocations: 0 / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.007697, allocations: 3.984 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.0077, allocations: 0 / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.007846, allocations: 155.9 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.007855, allocations: 11.92 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.012e-05/0.007925, allocations: 23.92 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.00793, allocations: 4 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.007936, allocations: 0 / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007938, allocations: 0 / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007939, allocations: 0 / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.008119, allocations: 275.5 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.008134, allocations: 19.84 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.008145, allocations: 0 / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.008206, allocations: 16.61 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.008253, allocations: 15.97 kB / 0.8183 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.008262, allocations: 4.562 kB / 0.8183 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.00832, allocations: 154.5 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00832, allocations: 4 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000201/0.008521, allocations: 40.44 kB / 0.8184 GB, free: 10.63 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.000163/0.008684, allocations: 130.3 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.008847, allocations: 139.6 kB / 0.8187 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008849, allocations: 4.719 kB / 0.8187 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.008922, allocations: 115.5 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.009134, allocations: 35.78 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.009527, allocations: 296 kB / 0.8191 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.782e-05/0.009575, allocations: 79.33 kB / 0.8192 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.009615, allocations: 5.406 kB / 0.8192 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.009705, allocations: 91.19 kB / 0.8193 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of SimCode: time 1.253e-06/0.009706, allocations: 4 kB / 0.8193 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of Templates: time 0.003963/0.01367, allocations: 2.379 MB / 0.8216 GB, free: 7.344 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.107244231272489]