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.001513/0.001513, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001835/0.001835, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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 2.948/2.948, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|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.",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.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|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.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.06e-05, allocations: 5.578 kB / 0.8109 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002198/0.002228, allocations: 0.8154 MB / 0.8117 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.003955, allocations: 1.031 MB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.004034, allocations: 4 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.004165, allocations: 17.45 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.004229, allocations: 19.75 kB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.004835, allocations: 97.38 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.005056, allocations: 127.7 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.005202, allocations: 29.2 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.005353, allocations: 75.81 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.005445, allocations: 53.45 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.005476, allocations: 8 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.005649, allocations: 83.86 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.005728, allocations: 39.84 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.005796, allocations: 39.84 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.006158, allocations: 231.8 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.00616, allocations: 1.656 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.72e-07/0.006161, allocations: 0 / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.006166, allocations: 0 / 0.8135 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.0009581/0.007124, allocations: 415.2 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.007165, allocations: 12.03 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.007254, allocations: 25.95 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.007496, allocations: 153.3 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.007511, allocations: 4.375 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.007533, allocations: 9.75 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.008207, allocations: 208.4 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.008218, allocations: 192 / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.008237, allocations: 384 / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.008244, allocations: 384 / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.009085, allocations: 231.3 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.01013, allocations: 450.5 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.01063, allocations: 152.4 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.01108, allocations: 139.2 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.647e-05/0.01114, allocations: 4 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.01119, allocations: 39.27 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.01119, allocations: 0 / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.001611/0.0128, allocations: 478.5 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.01286, allocations: 55.41 kB / 0.8158 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.01302, allocations: 150.1 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.01305, allocations: 33.64 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/0.01313, allocations: 109.7 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.01321, allocations: 75.39 kB / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.01328, allocations: 29.7 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.01347, allocations: 335.8 kB / 0.8165 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.01392, allocations: 129.8 kB / 0.8166 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.01433, allocations: 129.6 kB / 0.8167 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008709/0.0152, allocations: 309.3 kB / 0.817 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.0152, allocations: 0 / 0.817 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009909/0.01619, allocations: 333.6 kB / 0.8173 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.01622, allocations: 7.984 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.01623, allocations: 0 / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.01626, allocations: 4 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.01652, allocations: 32.89 kB / 0.8174 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.01653, allocations: 2.344 kB / 0.8174 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.01672, allocations: 35.91 kB / 0.8174 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.01675, allocations: 0 / 0.8174 GB, free: 11.22 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.0001727/0.01692, allocations: 141.5 kB / 0.8175 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.01698, allocations: 23.84 kB / 0.8175 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.01804, allocations: 372.5 kB / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.01805, allocations: 4 kB / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01806, allocations: 0 / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01806, allocations: 0 / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.01833, allocations: 189.4 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.01834, allocations: 4 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.01857, allocations: 39.95 kB / 0.8181 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01857, allocations: 0 / 0.8181 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.01859, allocations: 8 kB / 0.8181 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01859, allocations: 0 / 0.8181 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.01859, allocations: 3.984 kB / 0.8181 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.01971, allocations: 438.2 kB / 0.8186 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.01975, allocations: 27.78 kB / 0.8186 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.01977, allocations: 0 / 0.8186 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.02, allocations: 31.95 kB / 0.8186 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.02009, allocations: 11.98 kB / 0.8186 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.02011, allocations: 4 kB / 0.8186 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001113/0.02023, allocations: 111.2 kB / 0.8187 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02023, allocations: 0 / 0.8187 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003818/0.02061, allocations: 47.94 kB / 0.8188 GB, free: 9.734 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.0003889/0.021, allocations: 119.2 kB / 0.8189 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.02214, allocations: 367.4 kB / 0.8192 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02214, allocations: 0 / 0.8192 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.0227, allocations: 219.4 kB / 0.8195 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.02307, allocations: 35.92 kB / 0.8195 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008849/0.02395, allocations: 357.2 kB / 0.8198 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.02411, allocations: 121.4 kB / 0.8199 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.209e-05/0.02419, allocations: 19.97 kB / 0.82 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.02425, allocations: 12.5 kB / 0.82 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.02425, allocations: 4 kB / 0.82 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of Templates: time 0.006149/0.0304, allocations: 2.174 MB / 0.8221 GB, free: 6.301 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.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: 8.07639892201405]