Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001433/0.001433, allocations: 194.2 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 69.03 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3095, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002685/0.3122, allocations: 1.476 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004208/0.3127, allocations: 215.4 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.3127, allocations: 7.938 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.3127, allocations: 3.938 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.3129, allocations: 11.92 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.468e-05/0.313, allocations: 15.98 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3131, allocations: 43.92 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.3132, allocations: 7.984 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.3133, allocations: 23.86 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.3133, allocations: 19.91 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3134, allocations: 8 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.3134, allocations: 4 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.3134, allocations: 7.938 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.3134, allocations: 15.92 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.648e-05/0.3135, allocations: 47.8 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3135, allocations: 3.984 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3136, allocations: 0 / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.3136, allocations: 0 / 1.069 GB, free: 8.98 MB / 0.8262 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.0005712/0.3141, allocations: 363.7 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3142, allocations: 8.031 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.3142, allocations: 8.844 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3144, allocations: 184.2 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3144, allocations: 384 / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3144, allocations: 4.375 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.3146, allocations: 62.17 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.3146, allocations: 192 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3146, allocations: 3.938 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3147, allocations: 4 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3149, allocations: 43.95 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.3153, allocations: 277 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3156, allocations: 70.42 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3157, allocations: 28.91 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3157, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3158, allocations: 34.55 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3158, allocations: 0 / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003776/0.3161, allocations: 109.5 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.3162, allocations: 55.34 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.3163, allocations: 109.8 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3163, allocations: 25.7 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.3163, allocations: 88.12 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.3164, allocations: 19.75 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.3164, allocations: 17.66 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3165, allocations: 322.8 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3167, allocations: 19.98 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.21e-05/0.3167, allocations: 31.97 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3169, allocations: 44.83 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3169, allocations: 3.938 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002631/0.3172, allocations: 101.8 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3172, allocations: 4 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3172, allocations: 192 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3173, allocations: 384 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.3174, allocations: 15.98 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3174, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.3175, allocations: 15.88 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3175, allocations: 3.938 kB / 1.071 GB, free: 6.715 MB / 0.8262 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 9.007e-05/0.3176, allocations: 121.8 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3176, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.3179, allocations: 93.48 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3179, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3179, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3179, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3181, allocations: 173.6 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3181, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.787e-05/0.3182, allocations: 15.98 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3182, allocations: 4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3182, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3182, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3182, allocations: 3.984 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.3186, allocations: 207.3 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.3187, allocations: 85.06 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3187, allocations: 4 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.3188, allocations: 4.031 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.3188, allocations: 15.92 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3188, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.3189, allocations: 87.28 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3189, allocations: 0 / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002269/0.3191, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 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.0001138/0.3192, allocations: 112.9 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3195, allocations: 51.95 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3195, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3196, allocations: 31.92 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.32, allocations: 12.48 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.3203, allocations: 165.2 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3206, allocations: 0.6848 MB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.3206, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.3207, allocations: 11.72 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3207, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.002453/0.3231, allocations: 0.5494 MB / 1.074 GB, free: 4.137 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)