Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 180.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.2 MB / 0.626 GB, free: 7.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009088/0.0009087, allocations: 89.03 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.775e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.7706, allocations: 116.3 MB / 0.9734 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.9894, allocations: 138.2 MB / 1.108 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.9897, allocations: 64.56 kB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01068/1, allocations: 3.515 MB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/1.001, allocations: 0 / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.001, allocations: 4 kB / 1.112 GB, free: 8.379 MB / 0.7136 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.0009631/1.002, allocations: 486 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.002, allocations: 8.031 kB / 1.112 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/1.002, allocations: 19.75 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/1.002, allocations: 208.2 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/1.002, allocations: 3.312 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/1.002, allocations: 4 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001837/1.002, allocations: 79.92 kB / 1.113 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/1.002, allocations: 113.6 kB / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.002, allocations: 7.984 kB / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/1.002, allocations: 0 / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.002, allocations: 0 / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/1.003, allocations: 496.8 kB / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/1.003, allocations: 81.25 kB / 1.113 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/1.004, allocations: 64.84 kB / 1.113 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/1.004, allocations: 3.953 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.004, allocations: 34.56 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/1.004, allocations: 0 / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0004217/1.004, allocations: 165.4 kB / 1.113 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/1.004, allocations: 61.28 kB / 1.114 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/1.004, allocations: 124.5 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/1.004, allocations: 25.7 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/1.004, allocations: 112.4 kB / 1.114 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/1.004, allocations: 43.27 kB / 1.114 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/1.004, allocations: 0 / 1.114 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.005, allocations: 326.8 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/1.005, allocations: 47.98 kB / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/1.005, allocations: 55.98 kB / 1.114 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.005, allocations: 73.02 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.005, allocations: 0 / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002436/1.005, allocations: 155 kB / 1.114 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.005, allocations: 4 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.005, allocations: 3.953 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/1.005, allocations: 0 / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/1.006, allocations: 55.89 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.006, allocations: 3.938 kB / 1.115 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/1.006, allocations: 51.8 kB / 1.115 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/1.006, allocations: 7.984 kB / 1.115 GB, free: 5.324 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.871e-05/1.006, allocations: 105 kB / 1.115 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002644/1.006, allocations: 156 kB / 1.115 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/1.006, allocations: 15.77 kB / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/1.007, allocations: 189.1 kB / 1.115 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.007, allocations: 4 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.007, allocations: 4 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.007, allocations: 0 / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/1.007, allocations: 221.8 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.007, allocations: 4 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/1.007, allocations: 43.95 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.007, allocations: 11.95 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/1.007, allocations: 4 kB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.007, allocations: 1.562 kB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.007, allocations: 3.984 kB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/1.008, allocations: 261.7 kB / 1.116 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/1.008, allocations: 88.94 kB / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/1.008, allocations: 7.953 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/1.008, allocations: 43.95 kB / 1.116 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/1.008, allocations: 11.98 kB / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/1.008, allocations: 4 kB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.317e-05/1.008, allocations: 105.1 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.008, allocations: 4 kB / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003113/1.008, allocations: 39.91 kB / 1.116 GB, free: 3.938 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007697/1.009, allocations: 0.8255 MB / 1.117 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002984/1.009, allocations: 191.3 kB / 1.117 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.009, allocations: 4 kB / 1.117 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/1.01, allocations: 139.4 kB / 1.117 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/1.01, allocations: 20.69 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/1.011, allocations: 257.8 kB / 1.117 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/1.011, allocations: 0.7284 MB / 1.118 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.761e-05/1.011, allocations: 11.98 kB / 1.118 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/1.011, allocations: 35.42 kB / 1.118 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/1.011, allocations: 3.938 kB / 1.118 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/1.034, allocations: 2.695 MB / 1.121 GB, free: 15 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/1.034, allocations: 140.9 kB / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.691, allocations: 0 / 1.121 GB, free: 14.81 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)