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.001488/0.001488, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.51/1.51, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.659/2.659, allocations: 437 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8111, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002157/0.8133, allocations: 0.8147 MB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.8146, allocations: 1.01 MB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.8146, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.8148, allocations: 15.81 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.8148, allocations: 19.78 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.8152, allocations: 87.84 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.8154, allocations: 119.6 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.8156, allocations: 65.34 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.603e-05/0.8157, allocations: 43.84 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.8158, allocations: 59.75 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.8158, allocations: 8 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.8159, allocations: 67.89 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.816, allocations: 31.92 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.8161, allocations: 59.59 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.8163, allocations: 185.4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.8163, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8163, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8164, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 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.0008181/0.8172, allocations: 474.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.8172, allocations: 8.031 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.8173, allocations: 24.69 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.8175, allocations: 221.8 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.8175, allocations: 384 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.8176, allocations: 4.375 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.8181, allocations: 188.2 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.8181, allocations: 192 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.8181, allocations: 11.94 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.8182, allocations: 11.98 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.8189, allocations: 203.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.8198, allocations: 464.3 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.8202, allocations: 138.4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.8206, allocations: 132.8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.8206, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.8207, allocations: 30.56 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.8207, allocations: 4 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.00126/0.822, allocations: 395.2 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.822, allocations: 59.41 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.8222, allocations: 152 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.8222, allocations: 25.7 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.8222, allocations: 108.4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.8223, allocations: 51.33 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.8224, allocations: 25.7 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8225, allocations: 318.8 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.8229, allocations: 115.9 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.8232, allocations: 119.8 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.824, allocations: 241.9 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.824, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007939/0.8248, allocations: 278.6 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8248, allocations: 8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8248, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8248, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.8251, allocations: 39.95 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8251, allocations: 0 / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.8253, allocations: 39.73 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.8253, allocations: 8 kB / 1.024 GB, free: 11.9 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.0001008/0.8254, allocations: 121.8 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.8255, allocations: 11.91 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.8255, allocations: 16.84 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.8255, allocations: 11.98 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.8255, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8256, allocations: 3.938 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.8258, allocations: 229.5 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8258, allocations: 3.938 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.8261, allocations: 35.89 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8261, allocations: 8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.8261, allocations: 3.938 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8261, allocations: 240 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.8261, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008718/0.827, allocations: 379 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.827, allocations: 85.02 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.8271, allocations: 4 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.8273, allocations: 31.95 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.8274, allocations: 23.91 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.8274, allocations: 0 / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.721e-05/0.8275, allocations: 113.1 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8275, allocations: 0 / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002992/0.8278, allocations: 43.84 kB / 1.025 GB, free: 10.7 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.0002592/0.828, allocations: 124.2 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008662/0.8289, allocations: 263.8 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8289, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.8293, allocations: 135.8 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.8297, allocations: 23.97 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006076/0.8303, allocations: 323 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.8307, allocations: 0.7197 MB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.8308, allocations: 19.97 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.8308, allocations: 15.42 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8308, allocations: 0 / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of Templates: time 0.004719/0.8355, allocations: 1.894 MB / 1.028 GB, free: 7.164 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=480 -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