Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001275/0.001275, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001354/0.001354, allocations: 191.7 kB / 16.25 MB, free: 6.645 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.55 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3154, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001943/0.3174, allocations: 0.7387 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00085/0.3182, allocations: 0.7923 MB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.3183, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.3183, allocations: 4 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.3184, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.777e-05/0.3184, allocations: 7.984 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.3185, allocations: 23.94 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.3186, allocations: 3.984 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.3187, allocations: 15.88 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.3187, allocations: 7.984 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3187, allocations: 3.984 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.3187, allocations: 4 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.3188, allocations: 11.94 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.3188, allocations: 11.94 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.76e-05/0.3189, allocations: 23.95 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3189, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3189, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3189, allocations: 0 / 1.069 GB, free: 9.109 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.0004096/0.3193, allocations: 335.7 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3194, allocations: 8.031 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.3194, allocations: 8.875 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3195, allocations: 164.4 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3195, allocations: 384 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.3195, allocations: 4.375 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3197, allocations: 46.23 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3197, allocations: 4.188 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3197, allocations: 3.938 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3198, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3199, allocations: 35.89 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.3203, allocations: 260.9 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3204, allocations: 34.5 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.3205, allocations: 20.89 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.3205, allocations: 11.98 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3205, allocations: 30.56 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3205, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003332/0.3209, allocations: 77.5 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.3209, allocations: 55.39 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.321, allocations: 102 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.321, allocations: 25.7 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.3211, allocations: 84.14 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.3211, allocations: 4 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.3211, allocations: 13.7 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3212, allocations: 310.8 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.3213, allocations: 15.98 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.3214, allocations: 15.98 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3215, allocations: 32.83 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3215, allocations: 7.938 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001741/0.3217, allocations: 69.5 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3217, allocations: 4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.3217, allocations: 4.094 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3218, allocations: 7.938 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.3219, allocations: 27.95 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.322, allocations: 0 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.322, allocations: 4 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.322, allocations: 0 / 1.071 GB, free: 7.09 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 6.679e-05/0.3221, allocations: 113.8 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.3221, allocations: 4 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.673e-05/0.3221, allocations: 7.125 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3221, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3221, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3222, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.3223, allocations: 157.6 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3223, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3225, allocations: 31.95 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3225, allocations: 3.938 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3225, allocations: 4 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3225, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3225, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.3227, allocations: 159.4 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.3228, allocations: 81.11 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.3228, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.3229, allocations: 12.02 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.3229, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.3229, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.3229, allocations: 83.28 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.323, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002199/0.3232, allocations: 4 kB / 1.072 GB, free: 6.348 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.0001013/0.3233, allocations: 99.23 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.3235, allocations: 39.91 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3235, allocations: 0 / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.3236, allocations: 11.98 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.3239, allocations: 7.938 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.3242, allocations: 114 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.3244, allocations: 0.6807 MB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.3245, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.3245, allocations: 7.438 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3245, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.002246/0.3267, allocations: 377.8 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)