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.001512/0.001512, allocations: 107.1 kB / 15.99 MB, free: 6.355 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.001527/0.001527, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.537/2.537, allocations: 437.1 MB / 0.7107 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 77.28 kB / 0.8694 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3042, allocations: 151.6 MB / 1.018 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002115/0.3063, allocations: 0.8895 MB / 1.018 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3076, allocations: 1.008 MB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.3077, allocations: 0 / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.3078, allocations: 11.92 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.3079, allocations: 15.8 kB / 1.019 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.3082, allocations: 75.94 kB / 1.019 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3084, allocations: 123.6 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.3086, allocations: 61.34 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.3087, allocations: 43.84 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.3087, allocations: 59.75 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3088, allocations: 8 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3089, allocations: 67.89 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.309, allocations: 31.92 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.309, allocations: 59.59 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.3092, allocations: 136 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3092, allocations: 4 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3092, allocations: 0 / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3093, allocations: 0 / 1.02 GB, free: 8.391 MB / 0.795 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.0008697/0.3101, allocations: 470.9 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3102, allocations: 12.92 kB / 1.02 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.3102, allocations: 16.75 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3105, allocations: 211.8 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3105, allocations: 4.375 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.3105, allocations: 8.375 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.3111, allocations: 188.7 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3111, allocations: 192 / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.3111, allocations: 11.92 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.3112, allocations: 16 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007505/0.3119, allocations: 211.6 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009844/0.3129, allocations: 456.4 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.3134, allocations: 134.5 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.3138, allocations: 128.8 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3138, allocations: 0 / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3138, allocations: 34.56 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.3138, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.00128/0.3151, allocations: 412.1 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3152, allocations: 59.34 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3153, allocations: 148 kB / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3154, allocations: 33.69 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.3155, allocations: 104.4 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.3155, allocations: 47.2 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.3156, allocations: 21.72 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3157, allocations: 326.8 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.3162, allocations: 115.9 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.3165, allocations: 111.9 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.3173, allocations: 242.9 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3173, allocations: 0 / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008209/0.3181, allocations: 277.3 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3181, allocations: 4 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3182, allocations: 0 / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.3182, allocations: 8 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3185, allocations: 31.95 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3185, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3187, allocations: 43.8 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.3187, allocations: 0 / 1.024 GB, free: 4.363 MB / 0.795 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.0001243/0.3188, allocations: 129.8 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.3189, allocations: 19.8 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.3189, allocations: 12.83 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.3189, allocations: 8 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3189, allocations: 0 / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.319, allocations: 3.938 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.3193, allocations: 229.5 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3193, allocations: 4 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.3195, allocations: 35.89 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3195, allocations: 7.938 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3195, allocations: 4 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3195, allocations: 0 / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3195, allocations: 0 / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009039/0.3204, allocations: 383.1 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3205, allocations: 88.95 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3205, allocations: 3.984 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3208, allocations: 23.97 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.3208, allocations: 23.91 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3208, allocations: 4 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.912e-05/0.321, allocations: 109.7 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.321, allocations: 4 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000301/0.3213, allocations: 39.89 kB / 1.025 GB, free: 3.16 MB / 0.795 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.0002482/0.3215, allocations: 123.7 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008514/0.3224, allocations: 259.7 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3224, allocations: 0 / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.3228, allocations: 143.8 kB / 1.025 GB, free: 2.637 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.3232, allocations: 22.52 kB / 1.025 GB, free: 2.617 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.3239, allocations: 400.6 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3243, allocations: 0.7236 MB / 1.026 GB, free: 1.445 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.3243, allocations: 15.44 kB / 1.026 GB, free: 1.43 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3243, allocations: 0 / 1.026 GB, free: 1.43 MB / 0.795 GB Notification: Performance of Templates: time 0.00397/0.3283, allocations: 1.885 MB / 1.028 GB, free: 15.56 MB / 0.8106 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/jenkins1/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