Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 197.1 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.89 kB / 0.8688 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7494, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002698/0.7522, allocations: 0.8834 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.7539, allocations: 1.014 MB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.754, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.7541, allocations: 11.94 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.7542, allocations: 19.8 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.7547, allocations: 83.91 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.7549, allocations: 119.6 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.7552, allocations: 49.38 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.7553, allocations: 55.83 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.7554, allocations: 59.77 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.7554, allocations: 8 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.7556, allocations: 63.89 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.7557, allocations: 39.89 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.7558, allocations: 55.61 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.7561, allocations: 185.4 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.7561, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7561, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.7561, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001055/0.7572, allocations: 478.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7573, allocations: 16.02 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.7573, allocations: 12.75 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.7576, allocations: 211.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.7576, allocations: 4.375 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.7577, allocations: 8.375 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.7583, allocations: 190 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.7583, allocations: 192 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.7583, allocations: 7.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.7584, allocations: 12 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.7591, allocations: 207.7 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.7602, allocations: 452.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.7607, allocations: 146.3 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.7611, allocations: 128.7 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.7611, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.7611, allocations: 34.56 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.7612, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001281/0.7624, allocations: 403.2 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.7625, allocations: 51.41 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.7627, allocations: 155.4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.7627, allocations: 25.78 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.7628, allocations: 112.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.7628, allocations: 47.27 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.7629, allocations: 29.66 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.7631, allocations: 322.8 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.7635, allocations: 107.9 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.7639, allocations: 119.8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.7646, allocations: 246 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.7646, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009447/0.7656, allocations: 273.3 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.7656, allocations: 8 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.7656, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.7656, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.7659, allocations: 35.95 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7659, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.7661, allocations: 47.73 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.7661, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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 0.0001366/0.7663, allocations: 129.8 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.7664, allocations: 11.81 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.7664, allocations: 16.83 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.7664, allocations: 4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7665, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7665, allocations: 11.88 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.7668, allocations: 225.6 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.7668, allocations: 4 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.767, allocations: 31.95 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.767, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.767, allocations: 7.984 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.767, allocations: 3.938 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7671, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000876/0.7679, allocations: 388.1 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.768, allocations: 93 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.768, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.7682, allocations: 27.95 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.7683, allocations: 15.92 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.7683, allocations: 4 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001004/0.7684, allocations: 121.2 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7684, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003119/0.7688, allocations: 39.84 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0002713/0.769, allocations: 119.8 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008656/0.7699, allocations: 263.8 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7699, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.7703, allocations: 139.8 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.7708, allocations: 20.78 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007111/0.7715, allocations: 371.6 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.7719, allocations: 0.7158 MB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.307e-05/0.772, allocations: 19.97 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.7721, allocations: 15.44 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of SimCode: time 6.82e-07/0.7721, allocations: 4 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of Templates: time 0.005173/0.7773, allocations: 1.62 MB / 1.027 GB, free: 7.523 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches