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.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 187.4 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008223/0.0008224, allocations: 94.52 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.944e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2295, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7366/0.9662, allocations: 132 MB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.9665, allocations: 71.64 kB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01006/0.9766, allocations: 3.581 MB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9766, allocations: 0 / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.9766, allocations: 4 kB / 1.018 GB, free: 2.43 MB / 0.6355 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.0007548/0.9774, allocations: 481.8 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.9774, allocations: 11.97 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.9775, allocations: 15.81 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.9777, allocations: 219.9 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.9777, allocations: 0 / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.9778, allocations: 4 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001808/0.978, allocations: 76.17 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.9782, allocations: 115.8 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.9782, allocations: 3.984 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.9782, allocations: 3.938 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9782, allocations: 0 / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008686/0.9791, allocations: 490 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.9792, allocations: 85.7 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.9793, allocations: 63.47 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.9794, allocations: 11.89 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.9794, allocations: 37.94 kB / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.9794, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003553/0.9798, allocations: 152.6 kB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.9798, allocations: 62.39 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.9799, allocations: 119.5 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.9799, allocations: 25.7 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.98, allocations: 111.9 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.9801, allocations: 46.3 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.9801, allocations: 0 / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9802, allocations: 325.9 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.9803, allocations: 50.17 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.9804, allocations: 50.66 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.9805, allocations: 62.23 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9805, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000237/0.9808, allocations: 165 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9808, allocations: 11.95 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.9808, allocations: 4 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.9808, allocations: 0 / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.9811, allocations: 47.95 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.9811, allocations: 0 / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.9813, allocations: 51.8 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.9814, allocations: 4 kB / 1.021 GB, free: 15.7 MB / 0.6511 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 7.371e-05/0.9814, allocations: 107 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002536/0.9817, allocations: 166.7 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.9817, allocations: 19.77 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.9821, allocations: 178.3 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9821, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9821, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9821, allocations: 3.938 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.9823, allocations: 219.4 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.9823, allocations: 10.81 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.9826, allocations: 51.91 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.9826, allocations: 4 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.9826, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9826, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.9826, allocations: 3.938 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.9829, allocations: 262.2 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.983, allocations: 88.86 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.983, allocations: 7.953 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.9832, allocations: 43.95 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.9833, allocations: 15.53 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.9833, allocations: 4 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.873e-05/0.9834, allocations: 108.4 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9834, allocations: 0 / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002915/0.9837, allocations: 36 kB / 1.022 GB, free: 14.46 MB / 0.6511 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.0006928/0.9844, allocations: 0.8266 MB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.9847, allocations: 196.7 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9847, allocations: 0 / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.9848, allocations: 135.9 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.9851, allocations: 23.75 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.9857, allocations: 255.2 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.986, allocations: 0.7269 MB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.814e-05/0.9861, allocations: 15.94 kB / 1.024 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.683e-05/0.9861, allocations: 37.17 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9862, allocations: 4 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/1.007, allocations: 2.696 MB / 1.027 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/1.007, allocations: 155.9 kB / 1.027 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.647, allocations: 4.984 kB / 1.027 GB, free: 9.422 MB / 0.6511 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)