Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001045/0.001045, allocations: 176.9 kB / 361.4 MB, free: 6.855 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.66/1.66, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.0008603/0.0008603, allocations: 95.3 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.215e-05, allocations: 4 kB / 0.8519 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7761/0.7762, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.9781, allocations: 137.6 MB / 1.099 GB, free: 2.117 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.9785, allocations: 85.86 kB / 1.099 GB, free: 2.035 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004168/0.9827, allocations: 1.424 MB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9827, allocations: 0 / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.9827, allocations: 4.594 kB / 1.1 GB, free: 0.6484 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004821/0.9832, allocations: 364.3 kB / 1.101 GB, free: 256 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.9833, allocations: 12.03 kB / 1.101 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.9833, allocations: 1.781 kB / 1.101 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.9837, allocations: 195.4 kB / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.9837, allocations: 0.6875 kB / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.9837, allocations: 4 kB / 1.101 GB, free: 4 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001249/0.9838, allocations: 16.64 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.984, allocations: 42.25 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.984, allocations: 0.7188 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.984, allocations: 3.328 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.984, allocations: 0.6562 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.9846, allocations: 275.6 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.9848, allocations: 45.22 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.9848, allocations: 17.55 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.9848, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.9849, allocations: 32.16 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.9849, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002079/0.9851, allocations: 53.69 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.9852, allocations: 60 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.9853, allocations: 97.69 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.9853, allocations: 31.52 kB / 1.102 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.9854, allocations: 92.06 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.9854, allocations: 15.81 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.9854, allocations: 0 / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.9856, allocations: 320 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.9856, allocations: 8 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.9857, allocations: 12 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.9857, allocations: 8.875 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9857, allocations: 0 / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001278/0.9858, allocations: 60.91 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.9859, allocations: 4.781 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.9859, allocations: 0 / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.9859, allocations: 0.6562 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.9861, allocations: 23.92 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.9861, allocations: 4 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.9861, allocations: 10.91 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.9862, allocations: 0 / 1.102 GB, free: 14.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.998e-05/0.9863, allocations: 108.9 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.811e-05/0.9864, allocations: 49.69 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.9864, allocations: 7.188 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.9866, allocations: 68.89 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9866, allocations: 3.625 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9866, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9866, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.9868, allocations: 150.2 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9868, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.9869, allocations: 15.98 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.987, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.987, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.987, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.987, allocations: 8 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.9872, allocations: 162.7 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.9873, allocations: 92.88 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.9873, allocations: 0 / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.9874, allocations: 12 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.9875, allocations: 7.922 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.9875, allocations: 4.062 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.79e-05/0.9875, allocations: 87.28 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9875, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002245/0.9878, allocations: 8 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005602/0.9883, allocations: 0.6966 MB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.765e-05/0.9884, allocations: 32 kB / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.9885, allocations: 4 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.9885, allocations: 12 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.9887, allocations: 16.41 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.9891, allocations: 114 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.9895, allocations: 0.6846 MB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.9895, allocations: 11.98 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.9895, allocations: 11.44 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.9896, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/1.011, allocations: 1.017 MB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/1.011, allocations: 169.3 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.555, allocations: 5.594 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)