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.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.721/1.721, allocations: 251.9 MB / 0.51 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006169/0.000617, allocations: 16 kB / 0.6242 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.6392, allocations: 106.3 MB / 0.728 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001741/0.641, allocations: 1.125 MB / 0.7291 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004812/0.6415, allocations: 212.3 kB / 0.7293 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.6416, allocations: 4 kB / 0.7293 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.6416, allocations: 7.922 kB / 0.7293 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.6418, allocations: 3.984 kB / 0.7293 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.602e-05/0.6419, allocations: 15.98 kB / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.642, allocations: 31.91 kB / 0.7294 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.6421, allocations: 8 kB / 0.7294 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.235e-05/0.6422, allocations: 19.97 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.6423, allocations: 23.86 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.6423, allocations: 0 / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.6423, allocations: 4 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.6424, allocations: 3.984 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.6424, allocations: 33.7 kB / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.6426, allocations: 27.92 kB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.6426, allocations: 0 / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6426, allocations: 0 / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6426, allocations: 0 / 0.7295 GB, free: 10.03 MB / 0.545 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.0005212/0.6431, allocations: 369.1 kB / 0.7298 GB, free: 9.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.6432, allocations: 8.031 kB / 0.7298 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.6432, allocations: 7.984 kB / 0.7298 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.6434, allocations: 182.9 kB / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.6434, allocations: 0 / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.6434, allocations: 11.92 kB / 0.73 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.6437, allocations: 65.67 kB / 0.7301 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6437, allocations: 0 / 0.7301 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.6437, allocations: 0 / 0.7301 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6437, allocations: 0 / 0.7301 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.6439, allocations: 63.89 kB / 0.7301 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.6444, allocations: 284.8 kB / 0.7304 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.6447, allocations: 70.59 kB / 0.7305 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.6447, allocations: 0 / 0.7305 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.6448, allocations: 34.56 kB / 0.7305 GB, free: 8.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.6448, allocations: 0 / 0.7305 GB, free: 8.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0004057/0.6452, allocations: 129.6 kB / 0.7306 GB, free: 8.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.6452, allocations: 51.41 kB / 0.7307 GB, free: 8.598 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.6453, allocations: 113.8 kB / 0.7308 GB, free: 8.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.6453, allocations: 25.7 kB / 0.7308 GB, free: 8.445 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.6454, allocations: 84.14 kB / 0.7309 GB, free: 8.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.6454, allocations: 15.81 kB / 0.7309 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.6454, allocations: 4 kB / 0.7309 GB, free: 8.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6456, allocations: 314.8 kB / 0.7312 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.6457, allocations: 31.98 kB / 0.7313 GB, free: 7.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.6458, allocations: 27.97 kB / 0.7313 GB, free: 7.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.6459, allocations: 39.92 kB / 0.7313 GB, free: 7.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6459, allocations: 0 / 0.7313 GB, free: 7.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002289/0.6461, allocations: 93.66 kB / 0.7314 GB, free: 7.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6462, allocations: 8 kB / 0.7314 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6462, allocations: 0 / 0.7314 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.6462, allocations: 0 / 0.7314 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.6463, allocations: 15.98 kB / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.6463, allocations: 0.5625 kB / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.526e-05/0.6464, allocations: 19.89 kB / 0.7315 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.6464, allocations: 3.953 kB / 0.7315 GB, free: 7.781 MB / 0.545 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 (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 0.0001112/0.6465, allocations: 117.8 kB / 0.7316 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.6465, allocations: 3.938 kB / 0.7316 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.6468, allocations: 101.5 kB / 0.7317 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.6468, allocations: 3.938 kB / 0.7317 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6468, allocations: 0 / 0.7317 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6469, allocations: 8 kB / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.6471, allocations: 169.6 kB / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6471, allocations: 0 / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.6472, allocations: 15.98 kB / 0.7319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.6472, allocations: 0 / 0.7319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.6473, allocations: 0 / 0.7319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6473, allocations: 0 / 0.7319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6473, allocations: 0 / 0.7319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.6477, allocations: 231.3 kB / 0.7321 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.6479, allocations: 85.08 kB / 0.7322 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.6479, allocations: 8.047 kB / 0.7322 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.648, allocations: 12 kB / 0.7322 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.6481, allocations: 3.984 kB / 0.7322 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.6481, allocations: 0 / 0.7322 GB, free: 6.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.6481, allocations: 87.28 kB / 0.7323 GB, free: 6.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6481, allocations: 0 / 0.7323 GB, free: 6.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002312/0.6484, allocations: 11.91 kB / 0.7323 GB, free: 6.832 MB / 0.545 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 () * Number of clocked 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.0002756/0.6487, allocations: 107.2 kB / 0.7324 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.6489, allocations: 67.89 kB / 0.7324 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6489, allocations: 0 / 0.7324 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.649, allocations: 31.98 kB / 0.7325 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.6493, allocations: 14.64 kB / 0.7325 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.6497, allocations: 165.5 kB / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6501, allocations: 0.6887 MB / 0.7333 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.6501, allocations: 7.984 kB / 0.7333 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.6501, allocations: 7.438 kB / 0.7333 GB, free: 5.691 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6501, allocations: 0 / 0.7333 GB, free: 5.691 MB / 0.545 GB Notification: Performance of Templates: time 0.00298/0.6531, allocations: 0.5219 MB / 0.7338 GB, free: 5.18 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) Environment - environmentSimulation: