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.001357/0.001357, allocations: 108 kB / 15.61 MB, free: 148 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.001872/0.001872, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.508/2.508, allocations: 390.2 MB / 0.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001786, allocations: 67.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9125/0.9143, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002297/0.9167, allocations: 0.8207 MB / 0.9504 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.9179, allocations: 1.014 MB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.918, allocations: 1.406 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.9181, allocations: 7.875 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.373e-05/0.9181, allocations: 22.28 kB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.9186, allocations: 97.02 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.9188, allocations: 122.1 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.919, allocations: 43.42 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.9191, allocations: 53.72 kB / 0.9517 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.9192, allocations: 55.12 kB / 0.9518 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.9192, allocations: 9.156 kB / 0.9518 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.9194, allocations: 68.33 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.9194, allocations: 40.58 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.9195, allocations: 50.39 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.9198, allocations: 198.2 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9198, allocations: 0 / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9198, allocations: 0 / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.9198, allocations: 5.094 kB / 0.9521 GB, free: 7.18 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.0007946/0.9206, allocations: 473.8 kB / 0.9526 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.9207, allocations: 10.25 kB / 0.9526 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.9207, allocations: 18.91 kB / 0.9526 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.9209, allocations: 203.9 kB / 0.9528 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.9209, allocations: 10.88 kB / 0.9528 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.921, allocations: 5.188 kB / 0.9528 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.9216, allocations: 181.9 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9216, allocations: 192 / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.9216, allocations: 8.844 kB / 0.953 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/0.9216, allocations: 13.73 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.9224, allocations: 205.1 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008812/0.9233, allocations: 456.5 kB / 0.9537 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.9237, allocations: 139.3 kB / 0.9538 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.9241, allocations: 132.2 kB / 0.9539 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.9241, allocations: 1.125 kB / 0.9539 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.9242, allocations: 35.62 kB / 0.9539 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.9242, allocations: 0 / 0.9539 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001244/0.9254, allocations: 396.3 kB / 0.9543 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.9255, allocations: 56.41 kB / 0.9544 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.9256, allocations: 144.5 kB / 0.9545 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.9256, allocations: 33.64 kB / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.9256, allocations: 110.4 kB / 0.9547 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.9257, allocations: 53.02 kB / 0.9547 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.9257, allocations: 21.28 kB / 0.9547 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.9258, allocations: 322.4 kB / 0.955 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.9262, allocations: 115.3 kB / 0.9551 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.9265, allocations: 115.9 kB / 0.9553 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.9272, allocations: 240.2 kB / 0.9555 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9273, allocations: 0 / 0.9555 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008265/0.9281, allocations: 283.6 kB / 0.9558 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.9281, allocations: 5.844 kB / 0.9558 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.9281, allocations: 0 / 0.9558 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.9282, allocations: 5.156 kB / 0.9558 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.9284, allocations: 33.52 kB / 0.9558 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.9284, allocations: 1.375 kB / 0.9558 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.9286, allocations: 39.95 kB / 0.9558 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.9286, allocations: 3.156 kB / 0.9558 GB, free: 4.402 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.586e-05/0.9287, allocations: 134.1 kB / 0.956 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.9288, allocations: 8.656 kB / 0.956 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.9288, allocations: 12.47 kB / 0.956 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.9289, allocations: 14.3 kB / 0.956 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9289, allocations: 5.094 kB / 0.956 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9289, allocations: 3.938 kB / 0.956 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.9291, allocations: 222 kB / 0.9562 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9291, allocations: 0 / 0.9562 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.9293, allocations: 42.2 kB / 0.9563 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.9293, allocations: 1.875 kB / 0.9563 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.9294, allocations: 0 / 0.9563 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.9294, allocations: 1.844 kB / 0.9563 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.9294, allocations: 0 / 0.9563 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008467/0.9302, allocations: 388.7 kB / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.9303, allocations: 88.45 kB / 0.9567 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.9303, allocations: 2 kB / 0.9567 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.9305, allocations: 36.11 kB / 0.9568 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.9306, allocations: 15.52 kB / 0.9568 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.9306, allocations: 7.578 kB / 0.9568 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.949e-05/0.9307, allocations: 111.5 kB / 0.9569 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9307, allocations: 0 / 0.9569 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003205/0.931, allocations: 36.06 kB / 0.9569 GB, free: 3.504 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.0002457/0.9313, allocations: 119.2 kB / 0.957 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009138/0.9322, allocations: 271.1 kB / 0.9573 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9322, allocations: 0 / 0.9573 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.9326, allocations: 131.7 kB / 0.9574 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.933, allocations: 16.67 kB / 0.9574 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.9337, allocations: 330.2 kB / 0.9577 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.934, allocations: 0.7347 MB / 0.9585 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.709e-05/0.9341, allocations: 17.31 kB / 0.9585 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.9341, allocations: 12.5 kB / 0.9585 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.9341, allocations: 0 / 0.9585 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of Templates: time 0.005335/0.9395, allocations: 1.892 MB / 0.9603 GB, free: 1.324 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