Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.8/2.8, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001517/0.001517, allocations: 179.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 86.48 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004819, allocations: 17.7 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.224, allocations: 137.8 MB / 1.113 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.225, allocations: 77.66 kB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01994/1.245, allocations: 3.537 MB / 1.116 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/1.245, allocations: 0 / 1.116 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.966e-05/1.245, allocations: 3.875 kB / 1.116 GB, free: 31.29 MB / 0.698 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.001533/1.246, allocations: 0.4907 MB / 1.117 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/1.247, allocations: 11.83 kB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/1.247, allocations: 45.83 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/1.247, allocations: 15.69 kB / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/1.247, allocations: 203.9 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/1.247, allocations: 11.38 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/1.247, allocations: 11.62 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/1.248, allocations: 206.8 kB / 1.117 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/1.248, allocations: 0 / 1.117 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/1.248, allocations: 0 / 1.117 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/1.249, allocations: 0 / 1.117 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/1.25, allocations: 254.2 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/1.252, allocations: 0.5128 MB / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.253, allocations: 168.2 kB / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/1.253, allocations: 0 / 1.118 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/1.253, allocations: 38.31 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/1.253, allocations: 4 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.00321/1.257, allocations: 0.6246 MB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/1.257, allocations: 55.31 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/1.257, allocations: 132.8 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/1.257, allocations: 29.7 kB / 1.119 GB, free: 29.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.257, allocations: 108.8 kB / 1.119 GB, free: 29.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/1.257, allocations: 49.27 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/1.257, allocations: 3.938 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.257, allocations: 324.1 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009794/1.258, allocations: 134.5 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.26, allocations: 144 kB / 1.12 GB, free: 29.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008813/1.26, allocations: 144.8 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.261, allocations: 3.812 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00202/1.263, allocations: 328.1 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/1.263, allocations: 6.031 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.992e-05/1.263, allocations: 7.844 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.263, allocations: 0 / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/1.263, allocations: 45.91 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.263, allocations: 3.094 kB / 1.12 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/1.264, allocations: 54.22 kB / 1.12 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/1.264, allocations: 0 / 1.12 GB, free: 29.24 MB / 0.698 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 0.0002484/1.264, allocations: 128 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/1.264, allocations: 19.69 kB / 1.121 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/1.266, allocations: 364.1 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.266, allocations: 3.812 kB / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.266, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.266, allocations: 0 / 1.121 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/1.267, allocations: 252.2 kB / 1.121 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.267, allocations: 0 / 1.121 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/1.267, allocations: 53.06 kB / 1.121 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/1.268, allocations: 3.844 kB / 1.121 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/1.268, allocations: 7.938 kB / 1.121 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.268, allocations: 4.016 kB / 1.121 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.268, allocations: 3.984 kB / 1.121 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/1.27, allocations: 425.3 kB / 1.122 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/1.27, allocations: 95.41 kB / 1.122 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/1.27, allocations: 11.95 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/1.27, allocations: 45.12 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.271, allocations: 18.47 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/1.271, allocations: 3.844 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001452/1.271, allocations: 107.6 kB / 1.122 GB, free: 28.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.71e-07/1.271, allocations: 0 / 1.122 GB, free: 28.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000672/1.271, allocations: 44.02 kB / 1.122 GB, free: 28.49 MB / 0.698 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.002534/1.274, allocations: 0.9894 MB / 1.123 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.276, allocations: 369.7 kB / 1.123 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/1.276, allocations: 0 / 1.123 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000986/1.277, allocations: 229.8 kB / 1.123 GB, free: 27.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/1.278, allocations: 18.41 kB / 1.123 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/1.282, allocations: 1.16 MB / 1.125 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/1.282, allocations: 0.7258 MB / 1.125 GB, free: 26.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002059/1.283, allocations: 13.17 kB / 1.125 GB, free: 26.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/1.283, allocations: 40.14 kB / 1.125 GB, free: 26.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.363e-06/1.283, allocations: 0 / 1.125 GB, free: 26.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/1.308, allocations: 3.038 MB / 1.128 GB, free: 26.25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/1.309, allocations: 184.8 kB / 1.129 GB, free: 26.01 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.862, allocations: 11.94 kB / 1.129 GB, free: 26 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)