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.001097/0.001097, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001181/0.001181, allocations: 200.3 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.569/1.569, allocations: 251.6 MB / 0.5089 GB, free: 3.32 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.00144/0.00144, allocations: 71.89 kB / 0.6218 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7391/0.7405, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.003214/0.7438, allocations: 1.476 MB / 0.7255 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005363/0.7444, allocations: 220.2 kB / 0.7257 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.7444, allocations: 0 / 0.7257 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.7445, allocations: 3.984 kB / 0.7257 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.7448, allocations: 15.92 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.7449, allocations: 15.98 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.7451, allocations: 51.8 kB / 0.7257 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.7452, allocations: 11.98 kB / 0.7258 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.943e-05/0.7453, allocations: 19.92 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.7453, allocations: 19.92 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.7454, allocations: 4 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.7454, allocations: 4 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.7454, allocations: 23.91 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.7455, allocations: 11.94 kB / 0.7258 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.7456, allocations: 55.73 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7456, allocations: 0 / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7456, allocations: 0 / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7456, allocations: 0 / 0.7259 GB, free: 11.16 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.0006487/0.7463, allocations: 361.3 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/0.7463, allocations: 8.031 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.7464, allocations: 16.84 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.7466, allocations: 176.3 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.7466, allocations: 384 / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.7467, allocations: 8.375 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.7469, allocations: 58.23 kB / 0.7265 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.7469, allocations: 4.172 kB / 0.7265 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.7469, allocations: 7.938 kB / 0.7265 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.7469, allocations: 0 / 0.7265 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.7471, allocations: 43.95 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.7476, allocations: 292.7 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.7479, allocations: 58.55 kB / 0.7269 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/0.748, allocations: 32.84 kB / 0.7269 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.7481, allocations: 7.984 kB / 0.7269 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.7481, allocations: 30.56 kB / 0.7269 GB, free: 9.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.7481, allocations: 0 / 0.7269 GB, free: 9.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000375/0.7485, allocations: 97.58 kB / 0.727 GB, free: 9.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.7485, allocations: 59.41 kB / 0.7271 GB, free: 9.738 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.7486, allocations: 105.8 kB / 0.7272 GB, free: 9.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.7487, allocations: 29.7 kB / 0.7272 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.7487, allocations: 96.03 kB / 0.7273 GB, free: 9.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.7487, allocations: 7.812 kB / 0.7273 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.7488, allocations: 17.72 kB / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7489, allocations: 319.2 kB / 0.7276 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.749, allocations: 23.98 kB / 0.7277 GB, free: 9.117 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.7491, allocations: 27.97 kB / 0.7277 GB, free: 9.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.7493, allocations: 56.77 kB / 0.7278 GB, free: 9.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7493, allocations: 7.875 kB / 0.7278 GB, free: 9.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001963/0.7495, allocations: 85.59 kB / 0.7278 GB, free: 8.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.7495, allocations: 8 kB / 0.7278 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7495, allocations: 0 / 0.7278 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.7496, allocations: 4 kB / 0.7279 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.7496, allocations: 11.98 kB / 0.7279 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.7497, allocations: 4 kB / 0.7279 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.755e-05/0.7497, allocations: 7.984 kB / 0.7279 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.7497, allocations: 4 kB / 0.7279 GB, free: 8.895 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/0.7498, allocations: 109.8 kB / 0.728 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.7499, allocations: 11.84 kB / 0.728 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.7501, allocations: 89.55 kB / 0.7281 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7501, allocations: 0 / 0.7281 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7501, allocations: 4.188 kB / 0.7281 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7501, allocations: 0 / 0.7281 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.7503, allocations: 177.6 kB / 0.7283 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7503, allocations: 3.984 kB / 0.7283 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.7504, allocations: 8 kB / 0.7283 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7504, allocations: 0 / 0.7283 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.7504, allocations: 4 kB / 0.7283 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7505, allocations: 7.984 kB / 0.7283 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7505, allocations: 0 / 0.7283 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.7508, allocations: 203.3 kB / 0.7285 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.7509, allocations: 93.34 kB / 0.7286 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.7509, allocations: 0 / 0.7286 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.751, allocations: 8.062 kB / 0.7286 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.751, allocations: 3.984 kB / 0.7286 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.751, allocations: 7.984 kB / 0.7286 GB, free: 8.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.7511, allocations: 83.28 kB / 0.7287 GB, free: 7.988 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7511, allocations: 4 kB / 0.7287 GB, free: 7.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002064/0.7513, allocations: 4 kB / 0.7287 GB, free: 7.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.7515, allocations: 103.2 kB / 0.7288 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.7517, allocations: 63.89 kB / 0.7288 GB, free: 7.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7518, allocations: 288 / 0.7288 GB, free: 7.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.7518, allocations: 23.98 kB / 0.7288 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.7521, allocations: 23.86 kB / 0.7289 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.7525, allocations: 169.3 kB / 0.729 GB, free: 7.574 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.7528, allocations: 0.6846 MB / 0.7297 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.7528, allocations: 7.938 kB / 0.7297 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.7529, allocations: 7.438 kB / 0.7297 GB, free: 6.848 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.7529, allocations: 0 / 0.7297 GB, free: 6.848 MB / 0.545 GB Notification: Performance of Templates: time 0.002964/0.7558, allocations: 0.5614 MB / 0.7303 GB, free: 6.293 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (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)