Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008029/0.008029, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 19.39 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3131, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.0009743/0.3141, allocations: 421.4 kB / 1.075 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.315, allocations: 0.7845 MB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.315, allocations: 4 kB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.315, allocations: 0 / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.3151, allocations: 7.922 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.33e-05/0.3152, allocations: 4 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.414e-05/0.3153, allocations: 15.98 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3154, allocations: 12 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.3154, allocations: 15.86 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.3155, allocations: 7.984 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.3155, allocations: 4 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-06/0.3155, allocations: 0 / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.3156, allocations: 3.938 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.3156, allocations: 33.69 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.914e-05/0.3157, allocations: 23.91 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3157, allocations: 0 / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3157, allocations: 0 / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.3157, allocations: 4 kB / 1.075 GB, free: 6.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004612/0.3162, allocations: 335.8 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3162, allocations: 8.031 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3163, allocations: 8.781 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3164, allocations: 164.4 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3165, allocations: 384 / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3165, allocations: 384 / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.3167, allocations: 58.23 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.3167, allocations: 192 / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3167, allocations: 7.938 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3167, allocations: 0 / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.3169, allocations: 55.89 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.3173, allocations: 252.9 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3175, allocations: 46.53 kB / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/0.3176, allocations: 28.84 kB / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3176, allocations: 4 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3176, allocations: 34.5 kB / 1.076 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3176, allocations: 4 kB / 1.076 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003469/0.318, allocations: 85.64 kB / 1.076 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.318, allocations: 55.53 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.3181, allocations: 101.9 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.3181, allocations: 25.7 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.3182, allocations: 88.03 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.3182, allocations: 4 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.3182, allocations: 9.719 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3184, allocations: 310.8 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.3184, allocations: 23.98 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.3185, allocations: 23.92 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3187, allocations: 48.88 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.3187, allocations: 3.938 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001955/0.3189, allocations: 65.67 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3189, allocations: 5.562 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.319, allocations: 8.219 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.319, allocations: 0 / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.3192, allocations: 35.95 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3192, allocations: 0 / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.3192, allocations: 15.97 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.3193, allocations: 8 kB / 1.077 GB, free: 4.047 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 (1): * Single equations (assignments): 1 * 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 8.277e-05/0.3193, allocations: 109.8 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3194, allocations: 3.906 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.3194, allocations: 7.062 kB / 1.077 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3194, allocations: 4 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3194, allocations: 0 / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3194, allocations: 0 / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3196, allocations: 161.6 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3196, allocations: 7.922 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.3198, allocations: 35.97 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3198, allocations: 0 / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3198, allocations: 0 / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3198, allocations: 0 / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3198, allocations: 3.938 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.3201, allocations: 175.5 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.3201, allocations: 77.11 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3201, allocations: 0 / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.3202, allocations: 16.02 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3203, allocations: 0 / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3203, allocations: 0 / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.3203, allocations: 79.28 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3203, allocations: 3.938 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002135/0.3206, allocations: 4 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001392/0.3207, allocations: 99.23 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3209, allocations: 43.97 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3209, allocations: 0 / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.321, allocations: 28.05 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3213, allocations: 7.922 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.3216, allocations: 101 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3219, allocations: 0.677 MB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.3219, allocations: 0 / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.322, allocations: 7.438 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of SimCode: time 1.593e-06/0.322, allocations: 4.062 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.002461/0.3245, allocations: 357.7 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)