Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002182/0.002182, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.566/1.566, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.598/2.598, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8848, allocations: 140.3 MB / 0.9489 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002464/0.8873, allocations: 0.8912 MB / 0.9498 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.8888, allocations: 1.027 MB / 0.9508 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.8889, allocations: 1.375 kB / 0.9508 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.8891, allocations: 7.922 kB / 0.9508 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.8892, allocations: 14.69 kB / 0.9508 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.8896, allocations: 74.28 kB / 0.9509 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.8898, allocations: 116 kB / 0.951 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.8899, allocations: 46.17 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.8901, allocations: 46.03 kB / 0.9511 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.8901, allocations: 62.75 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.8902, allocations: 6.938 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.8904, allocations: 63.75 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.8904, allocations: 28.75 kB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.8905, allocations: 59.64 kB / 0.9513 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.8907, allocations: 174.6 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8908, allocations: 1.062 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8908, allocations: 0 / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.8908, allocations: 0 / 0.9515 GB, free: 7.125 MB / 0.7169 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.0008293/0.8916, allocations: 487.3 kB / 0.9519 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.8917, allocations: 9.5 kB / 0.9519 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.8917, allocations: 14.59 kB / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.8919, allocations: 206.2 kB / 0.9522 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.8919, allocations: 8.219 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.8919, allocations: 4.406 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.8925, allocations: 180.1 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8925, allocations: 1.219 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.8926, allocations: 8.844 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.8926, allocations: 13.48 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000703/0.8933, allocations: 210.5 kB / 0.9526 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/0.8942, allocations: 457.9 kB / 0.953 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.8946, allocations: 146.5 kB / 0.9531 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.895, allocations: 128.6 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.895, allocations: 0 / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.8951, allocations: 35.91 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.8951, allocations: 0 / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001263/0.8963, allocations: 402.3 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.8964, allocations: 52.86 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.8965, allocations: 144.6 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.8965, allocations: 29.69 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.8966, allocations: 110.6 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.8967, allocations: 52.83 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.8968, allocations: 25.11 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8969, allocations: 322.5 kB / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.8973, allocations: 111.2 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.8977, allocations: 115.9 kB / 0.9546 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.8984, allocations: 237.8 kB / 0.9548 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8984, allocations: 0 / 0.9548 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007428/0.8992, allocations: 286.2 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.8992, allocations: 6.469 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8992, allocations: 0 / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.8992, allocations: 1.062 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.8995, allocations: 34.02 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.8995, allocations: 0 / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.8997, allocations: 44.89 kB / 0.9552 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.8997, allocations: 3.375 kB / 0.9552 GB, free: 4.336 MB / 0.7169 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 9.611e-05/0.8998, allocations: 126.2 kB / 0.9553 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.8999, allocations: 8.469 kB / 0.9553 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.8999, allocations: 12.38 kB / 0.9553 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.9, allocations: 10.58 kB / 0.9553 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.9, allocations: 4.969 kB / 0.9553 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.9, allocations: 7.938 kB / 0.9554 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.9002, allocations: 227.4 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.9002, allocations: 0 / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.9004, allocations: 41.3 kB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.9005, allocations: 0 / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.9005, allocations: 1.125 kB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9005, allocations: 5.062 kB / 0.9556 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.9005, allocations: 0 / 0.9556 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.9013, allocations: 381.2 kB / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.9014, allocations: 92.77 kB / 0.9561 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.9014, allocations: 5.719 kB / 0.9561 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.9016, allocations: 32.55 kB / 0.9561 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.9017, allocations: 14.66 kB / 0.9561 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.9017, allocations: 3.344 kB / 0.9561 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.9017, allocations: 111 kB / 0.9562 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9018, allocations: 0 / 0.9562 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003232/0.9021, allocations: 45.61 kB / 0.9563 GB, free: 3.438 MB / 0.7169 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.0002302/0.9023, allocations: 123.6 kB / 0.9564 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.9031, allocations: 250.5 kB / 0.9566 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9031, allocations: 0 / 0.9566 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.9035, allocations: 136.8 kB / 0.9568 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.904, allocations: 21.27 kB / 0.9568 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.9047, allocations: 376.3 kB / 0.9571 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.9048, allocations: 0.7184 MB / 0.9578 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.994e-05/0.905, allocations: 21.39 kB / 0.9579 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.905, allocations: 11.53 kB / 0.9579 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.905, allocations: 7.938 kB / 0.9579 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.005208/0.9102, allocations: 1.566 MB / 0.9594 GB, free: 1.375 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches