Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001441/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001755/0.001755, allocations: 194.8 kB / 16.14 MB, free: 6.668 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.567/1.567, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.978/2.978, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 70.06 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3869, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002696/0.3897, allocations: 0.8917 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3912, allocations: 1.038 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.3912, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.3914, allocations: 7.922 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.3915, allocations: 19.81 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.3918, allocations: 67.91 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.392, allocations: 119.6 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3921, allocations: 45.11 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.3922, allocations: 51.83 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.3923, allocations: 51.77 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.3923, allocations: 4 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3925, allocations: 59.89 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.3925, allocations: 47.83 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.3926, allocations: 59.59 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.3928, allocations: 195.6 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3929, allocations: 0 / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3929, allocations: 3.938 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3929, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0008685/0.3937, allocations: 496.5 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3938, allocations: 8.031 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.3939, allocations: 16.75 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.3941, allocations: 214.5 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3941, allocations: 8.375 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3941, allocations: 4.375 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.3947, allocations: 213.9 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3947, allocations: 192 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3947, allocations: 11.94 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3947, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.3955, allocations: 223.8 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/0.3964, allocations: 0.5234 MB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.3969, allocations: 162.5 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.3973, allocations: 160.7 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.276e-05/0.3974, allocations: 12.06 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3974, allocations: 38.5 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.283e-06/0.3974, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.001694/0.3991, allocations: 483.3 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3992, allocations: 55.34 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3993, allocations: 150.2 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3994, allocations: 25.7 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.3994, allocations: 112.4 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.3996, allocations: 63.02 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.3996, allocations: 33.7 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002551/0.3999, allocations: 330.8 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.4003, allocations: 139.8 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.4007, allocations: 137 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.4014, allocations: 302.3 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4014, allocations: 0 / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008495/0.4023, allocations: 322.1 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.4023, allocations: 12 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.4023, allocations: 3.984 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4024, allocations: 0 / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.4026, allocations: 35.95 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.4026, allocations: 3.938 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.4028, allocations: 35.8 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.4029, allocations: 8 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002112/0.4031, allocations: 144 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.4032, allocations: 7.906 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.4043, allocations: 374.4 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4043, allocations: 0 / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.4043, allocations: 3.938 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4043, allocations: 4 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.4047, allocations: 273.4 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4047, allocations: 0 / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.4049, allocations: 39.95 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4049, allocations: 0 / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4049, allocations: 0 / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.405, allocations: 7.938 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.405, allocations: 3.938 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009468/0.4059, allocations: 431.9 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.4061, allocations: 92.92 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.4061, allocations: 3.984 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4063, allocations: 27.97 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.4064, allocations: 15.91 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4065, allocations: 4 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.183e-05/0.4065, allocations: 118.1 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4066, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003273/0.4069, allocations: 47.84 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003589/0.4073, allocations: 127.2 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.4083, allocations: 383.1 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4083, allocations: 0 / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.4088, allocations: 235.3 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.4091, allocations: 23.94 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.4099, allocations: 409 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.4103, allocations: 0.7356 MB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.593e-05/0.4104, allocations: 15.98 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.4105, allocations: 7.438 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.4105, allocations: 4 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of Templates: time 0.004861/0.4153, allocations: 1.693 MB / 1.079 GB, free: 14.44 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1)