Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 188.7 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009177/0.0009179, allocations: 91.78 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003191, allocations: 14.06 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.21, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.3752, allocations: 131.8 MB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.3755, allocations: 71.95 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0103/0.3858, allocations: 3.611 MB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3859, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.3859, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 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.0008762/0.3868, allocations: 0.4986 MB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.3868, allocations: 8.031 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.3869, allocations: 38.56 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.387, allocations: 15.91 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.3872, allocations: 220.6 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3873, allocations: 4 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.3873, allocations: 8 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.3879, allocations: 205.5 kB / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3879, allocations: 0 / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3879, allocations: 0 / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3879, allocations: 0 / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.3887, allocations: 259.7 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3897, allocations: 0.5088 MB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.3901, allocations: 174.4 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.3902, allocations: 0 / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3902, allocations: 30.56 kB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.3902, allocations: 0 / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.001419/0.3917, allocations: 0.6258 MB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3917, allocations: 55.34 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3919, allocations: 128.9 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3919, allocations: 33.64 kB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.392, allocations: 120.2 kB / 1.035 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.392, allocations: 47.36 kB / 1.035 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.3921, allocations: 0 / 1.035 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3922, allocations: 326.8 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.3926, allocations: 131.9 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.393, allocations: 141.4 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.3934, allocations: 151.8 kB / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3934, allocations: 0 / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008019/0.3942, allocations: 327.9 kB / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3942, allocations: 11.98 kB / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.3942, allocations: 0 / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3942, allocations: 4 kB / 1.036 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3945, allocations: 55.89 kB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3945, allocations: 0 / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3947, allocations: 47.89 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3948, allocations: 4 kB / 1.037 GB, free: 3.738 MB / 0.6823 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.0001196/0.3949, allocations: 125.8 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.3949, allocations: 19.77 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/0.3959, allocations: 354.3 kB / 1.037 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3959, allocations: 0 / 1.037 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3959, allocations: 0 / 1.037 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3959, allocations: 0 / 1.037 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.3962, allocations: 249.4 kB / 1.037 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.3962, allocations: 15.92 kB / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.3964, allocations: 51.91 kB / 1.037 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3964, allocations: 0 / 1.037 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3964, allocations: 4 kB / 1.037 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3964, allocations: 4 kB / 1.037 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3965, allocations: 0 / 1.037 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008458/0.3973, allocations: 424.9 kB / 1.038 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.3974, allocations: 88.95 kB / 1.038 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3974, allocations: 3.953 kB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.3976, allocations: 47.95 kB / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.3977, allocations: 7.984 kB / 1.038 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.3977, allocations: 8 kB / 1.038 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.117e-05/0.3978, allocations: 123.2 kB / 1.038 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.673e-06/0.3979, allocations: 0 / 1.038 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003424/0.3982, allocations: 47.83 kB / 1.038 GB, free: 2.098 MB / 0.6823 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.00126/0.3995, allocations: 0.9847 MB / 1.039 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008712/0.4004, allocations: 371.5 kB / 1.039 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4004, allocations: 0 / 1.039 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.4008, allocations: 223.3 kB / 1.04 GB, free: 492 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.4011, allocations: 24.25 kB / 1.04 GB, free: 468 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.4035, allocations: 1.168 MB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4039, allocations: 0.7201 MB / 1.041 GB, free: 14.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.102e-05/0.404, allocations: 11.98 kB / 1.041 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.4041, allocations: 39.42 kB / 1.041 GB, free: 14.44 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/0.4041, allocations: 4 kB / 1.041 GB, free: 14.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.4168, allocations: 3.046 MB / 1.044 GB, free: 11.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.417, allocations: 194.3 kB / 1.045 GB, free: 11.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.968, allocations: 3.938 kB / 1.045 GB, free: 11.31 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)