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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001707/0.001707, allocations: 100.1 kB / 15.88 MB, free: 12 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.002608/0.002608, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 71.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7383, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002017/0.7404, allocations: 0.8793 MB / 0.9505 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.7416, allocations: 1.021 MB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.7417, allocations: 0 / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.7418, allocations: 9.25 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.7419, allocations: 22.59 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.7422, allocations: 57.81 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.7423, allocations: 119.8 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.7425, allocations: 55.14 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.7426, allocations: 43.98 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.7427, allocations: 59.66 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.7427, allocations: 7.094 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.7428, allocations: 52.47 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.7429, allocations: 41.11 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.379e-05/0.7429, allocations: 53.75 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.7431, allocations: 126.8 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7431, allocations: 1.406 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/0.7431, allocations: 0 / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.7431, allocations: 7.938 kB / 0.9521 GB, free: 7.23 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.0007564/0.7439, allocations: 478.5 kB / 0.9526 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7439, allocations: 17.44 kB / 0.9526 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.744, allocations: 15.09 kB / 0.9526 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.7441, allocations: 207.6 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.7441, allocations: 7.969 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.7442, allocations: 8.156 kB / 0.9528 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.7447, allocations: 181.5 kB / 0.953 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7447, allocations: 1.5 kB / 0.953 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.7448, allocations: 3.938 kB / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.7448, allocations: 18.8 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/0.7455, allocations: 197.8 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.7464, allocations: 458.2 kB / 0.9536 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.7468, allocations: 146 kB / 0.9538 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.7472, allocations: 128.4 kB / 0.9539 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.7472, allocations: 1.375 kB / 0.9539 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.7472, allocations: 30.56 kB / 0.9539 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.7472, allocations: 1.281 kB / 0.9539 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001186/0.7484, allocations: 397.5 kB / 0.9543 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.7484, allocations: 52.91 kB / 0.9543 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.7485, allocations: 154.1 kB / 0.9545 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.7486, allocations: 25.7 kB / 0.9545 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.7486, allocations: 110.4 kB / 0.9546 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.7487, allocations: 49.42 kB / 0.9547 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.7487, allocations: 24.73 kB / 0.9547 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.7488, allocations: 326.4 kB / 0.955 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.7491, allocations: 111.1 kB / 0.9551 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.7495, allocations: 119.8 kB / 0.9552 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.7501, allocations: 247.1 kB / 0.9555 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7501, allocations: 0 / 0.9555 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006989/0.7509, allocations: 273.9 kB / 0.9557 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.7509, allocations: 5.938 kB / 0.9557 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7509, allocations: 0 / 0.9557 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.7509, allocations: 5.016 kB / 0.9557 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.7511, allocations: 37.64 kB / 0.9558 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7512, allocations: 5.156 kB / 0.9558 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.7513, allocations: 44.39 kB / 0.9558 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.7514, allocations: 2.281 kB / 0.9558 GB, free: 4.438 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 7.934e-05/0.7515, allocations: 123.1 kB / 0.9559 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.7515, allocations: 8.781 kB / 0.9559 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.7515, allocations: 19.28 kB / 0.956 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.7515, allocations: 15.98 kB / 0.956 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.7516, allocations: 0 / 0.956 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.7516, allocations: 3.938 kB / 0.956 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.7518, allocations: 238.8 kB / 0.9562 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7518, allocations: 0 / 0.9562 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.752, allocations: 34.61 kB / 0.9562 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.752, allocations: 0 / 0.9562 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.752, allocations: 5.312 kB / 0.9562 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.752, allocations: 0 / 0.9562 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.752, allocations: 1.312 kB / 0.9562 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007298/0.7528, allocations: 376.3 kB / 0.9566 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.7528, allocations: 87.77 kB / 0.9567 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.7528, allocations: 5.75 kB / 0.9567 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.753, allocations: 32.47 kB / 0.9567 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.7531, allocations: 19.59 kB / 0.9567 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.7531, allocations: 9.781 kB / 0.9567 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.7532, allocations: 107.7 kB / 0.9569 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7532, allocations: 0 / 0.9569 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003095/0.7535, allocations: 44.92 kB / 0.9569 GB, free: 3.535 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.000197/0.7537, allocations: 114.5 kB / 0.957 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007569/0.7544, allocations: 252.1 kB / 0.9572 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7545, allocations: 3.938 kB / 0.9572 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.7548, allocations: 139.4 kB / 0.9574 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.7552, allocations: 18.81 kB / 0.9574 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.7559, allocations: 404.1 kB / 0.9578 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.756, allocations: 0.7225 MB / 0.9585 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.7561, allocations: 11.72 kB / 0.9585 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.7561, allocations: 0 / 0.9585 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of Templates: time 0.003696/0.7598, allocations: 1.87 MB / 0.9603 GB, free: 1.293 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/jenkins1/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