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.001176/0.001176, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007044/0.007045, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.693/1.693, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.662/1.662, allocations: 252 MB / 0.5105 GB, free: 4.617 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.0006146/0.0006146, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5939/0.5946, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002063/0.5967, allocations: 1.149 MB / 0.7299 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005365/0.5973, allocations: 216.3 kB / 0.7301 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.5973, allocations: 0 / 0.7301 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.5974, allocations: 7.922 kB / 0.7301 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.5976, allocations: 7.922 kB / 0.7301 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/0.5977, allocations: 15.98 kB / 0.7301 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.5979, allocations: 43.86 kB / 0.7301 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.598, allocations: 15.98 kB / 0.7302 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.873e-05/0.5981, allocations: 23.86 kB / 0.7302 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.5981, allocations: 19.91 kB / 0.7302 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.5981, allocations: 4 kB / 0.7302 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.5982, allocations: 3.938 kB / 0.7302 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.5982, allocations: 7.938 kB / 0.7302 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.5983, allocations: 41.62 kB / 0.7303 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.5984, allocations: 43.86 kB / 0.7303 GB, free: 9.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5984, allocations: 3.938 kB / 0.7303 GB, free: 9.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5984, allocations: 0 / 0.7303 GB, free: 9.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.5984, allocations: 0 / 0.7303 GB, free: 9.66 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.0005416/0.5989, allocations: 368.7 kB / 0.7307 GB, free: 9.254 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.599, allocations: 12.03 kB / 0.7307 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.599, allocations: 0.9375 kB / 0.7307 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.5992, allocations: 176.3 kB / 0.7308 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5992, allocations: 4.375 kB / 0.7308 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.5993, allocations: 8.375 kB / 0.7308 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.5995, allocations: 66.17 kB / 0.7309 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5995, allocations: 4.172 kB / 0.7309 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5995, allocations: 7.938 kB / 0.7309 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5995, allocations: 0 / 0.7309 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.5997, allocations: 51.95 kB / 0.731 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.6002, allocations: 288.8 kB / 0.7312 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.6005, allocations: 74.48 kB / 0.7313 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.6006, allocations: 36.83 kB / 0.7313 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.6006, allocations: 4 kB / 0.7314 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.6007, allocations: 30.56 kB / 0.7314 GB, free: 8.391 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.6007, allocations: 4 kB / 0.7314 GB, free: 8.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0004053/0.6011, allocations: 109.6 kB / 0.7315 GB, free: 8.273 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.6011, allocations: 51.41 kB / 0.7315 GB, free: 8.211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.6012, allocations: 125.8 kB / 0.7317 GB, free: 8.078 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.6013, allocations: 25.7 kB / 0.7317 GB, free: 8.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.6013, allocations: 84.52 kB / 0.7318 GB, free: 7.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.6013, allocations: 11.81 kB / 0.7318 GB, free: 7.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.6014, allocations: 13.72 kB / 0.7318 GB, free: 7.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6015, allocations: 318.8 kB / 0.7321 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.937e-05/0.6016, allocations: 31.92 kB / 0.7321 GB, free: 7.578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.6017, allocations: 35.97 kB / 0.7322 GB, free: 7.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.6019, allocations: 56.83 kB / 0.7322 GB, free: 7.484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6019, allocations: 7.938 kB / 0.7322 GB, free: 7.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002672/0.6022, allocations: 105.7 kB / 0.7323 GB, free: 7.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.6022, allocations: 4 kB / 0.7323 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6022, allocations: 3.938 kB / 0.7323 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6023, allocations: 0 / 0.7323 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.6024, allocations: 23.92 kB / 0.7324 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.6024, allocations: 0 / 0.7324 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.6025, allocations: 11.98 kB / 0.7324 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.6025, allocations: 0 / 0.7324 GB, free: 7.324 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 0.0001048/0.6026, allocations: 117.8 kB / 0.7325 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.6026, allocations: 4 kB / 0.7325 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.6029, allocations: 101.5 kB / 0.7326 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6029, allocations: 0 / 0.7326 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.603, allocations: 4 kB / 0.7326 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.603, allocations: 0 / 0.7326 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.6032, allocations: 177.5 kB / 0.7327 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6032, allocations: 0 / 0.7327 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.6033, allocations: 16 kB / 0.7328 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6033, allocations: 0 / 0.7328 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.6033, allocations: 3.984 kB / 0.7328 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6033, allocations: 0 / 0.7328 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6033, allocations: 0 / 0.7328 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.6038, allocations: 223.4 kB / 0.733 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.6038, allocations: 89.22 kB / 0.7331 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.6039, allocations: 0 / 0.7331 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.604, allocations: 12.03 kB / 0.7331 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.604, allocations: 12.03 kB / 0.7331 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.604, allocations: 4 kB / 0.7331 GB, free: 6.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.925e-05/0.6041, allocations: 91.2 kB / 0.7332 GB, free: 6.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6041, allocations: 0 / 0.7332 GB, free: 6.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002091/0.6043, allocations: 8.281 kB / 0.7332 GB, free: 6.371 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.0002045/0.6045, allocations: 99.25 kB / 0.7333 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.6048, allocations: 67.95 kB / 0.7333 GB, free: 6.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6048, allocations: 3.938 kB / 0.7334 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.6049, allocations: 31.92 kB / 0.7334 GB, free: 6.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.6053, allocations: 18.88 kB / 0.7334 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.6057, allocations: 168.5 kB / 0.7336 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.606, allocations: 0.6809 MB / 0.7342 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.606, allocations: 4 kB / 0.7342 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.606, allocations: 7.438 kB / 0.7342 GB, free: 5.238 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.606, allocations: 4 kB / 0.7342 GB, free: 5.234 MB / 0.545 GB Notification: Performance of Templates: time 0.002666/0.6087, allocations: 0.5277 MB / 0.7348 GB, free: 4.707 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: