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.866/1.866, allocations: 292.6 MB / 307.5 MB, free: 5.254 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.001588/0.001589, allocations: 189 kB / 377.1 MB, free: 1.559 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.608/1.608, allocations: 205.4 MB / 0.6366 GB, free: 8.551 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.000918/0.000918, allocations: 97.36 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003968, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2864, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7812/1.068, allocations: 138.9 MB / 1.124 GB, free: 35.67 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.068, allocations: 70.62 kB / 1.124 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008974/1.077, allocations: 3.543 MB / 1.128 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.605e-06/1.077, allocations: 0 / 1.128 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.077, allocations: 4 kB / 1.128 GB, free: 33.21 MB / 0.7292 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.0007454/1.078, allocations: 0.4913 MB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.078, allocations: 12.58 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/1.078, allocations: 46.72 kB / 1.128 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/1.078, allocations: 21.88 kB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/1.078, allocations: 197.9 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/1.078, allocations: 7.422 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/1.078, allocations: 8.047 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000537/1.079, allocations: 204.3 kB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.079, allocations: 0 / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/1.079, allocations: 4.688 kB / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.079, allocations: 7.562 kB / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006769/1.079, allocations: 254 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008748/1.08, allocations: 0.5177 MB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/1.081, allocations: 168.2 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/1.081, allocations: 4.797 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/1.081, allocations: 34.56 kB / 1.13 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/1.081, allocations: 7.938 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.001205/1.082, allocations: 0.6271 MB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/1.082, allocations: 51.41 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/1.082, allocations: 131.4 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/1.082, allocations: 29.7 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/1.082, allocations: 111.5 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/1.082, allocations: 46.36 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/1.082, allocations: 4.844 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/1.082, allocations: 322.4 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/1.083, allocations: 140 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/1.083, allocations: 137.6 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/1.083, allocations: 144 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.083, allocations: 0 / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007334/1.084, allocations: 325.9 kB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.084, allocations: 11.94 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.084, allocations: 7.922 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.084, allocations: 0.9375 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/1.084, allocations: 46.41 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.084, allocations: 0.5469 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/1.085, allocations: 58.3 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/1.085, allocations: 0 / 1.132 GB, free: 29.37 MB / 0.7292 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: 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 8.95e-05/1.085, allocations: 125.4 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/1.085, allocations: 15.86 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008247/1.086, allocations: 369 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.086, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.086, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.086, allocations: 1.547 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/1.086, allocations: 253.9 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.086, allocations: 4 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/1.086, allocations: 46.3 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.086, allocations: 7.953 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/1.086, allocations: 5.438 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.086, allocations: 0 / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.086, allocations: 0 / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007389/1.087, allocations: 426.7 kB / 1.133 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/1.087, allocations: 96.28 kB / 1.133 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/1.087, allocations: 19.83 kB / 1.133 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.087, allocations: 38.97 kB / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/1.087, allocations: 18.8 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.087, allocations: 0 / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.255e-05/1.087, allocations: 114.7 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.087, allocations: 0 / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002969/1.088, allocations: 36 kB / 1.133 GB, free: 27.93 MB / 0.7292 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: 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.001058/1.089, allocations: 0.9984 MB / 1.134 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007754/1.09, allocations: 366.8 kB / 1.134 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.09, allocations: 0 / 1.134 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003869/1.09, allocations: 226.3 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/1.09, allocations: 20.5 kB / 1.135 GB, free: 26.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/1.092, allocations: 1.156 MB / 1.136 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/1.092, allocations: 0.7252 MB / 1.137 GB, free: 24.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.418e-05/1.092, allocations: 14.09 kB / 1.137 GB, free: 24.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/1.093, allocations: 38.81 kB / 1.137 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/1.093, allocations: 0 / 1.137 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/1.108, allocations: 3.043 MB / 1.14 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/1.109, allocations: 178.2 kB / 1.14 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.866, allocations: 8.062 kB / 1.14 GB, free: 22.71 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)