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.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.47 kB / 0.912 GB, free: 33.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2957, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.002003/0.2978, allocations: 0.681 MB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008304/0.2986, allocations: 0.7827 MB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.2987, allocations: 4 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.2987, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.2988, allocations: 7.922 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.934e-05/0.2988, allocations: 4 kB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.2989, allocations: 31.91 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.299, allocations: 0 / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.589e-05/0.2991, allocations: 15.92 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.2991, allocations: 8 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2991, allocations: 0 / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.2991, allocations: 4 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.2992, allocations: 11.92 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.2992, allocations: 12 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.234e-05/0.2993, allocations: 19.91 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2993, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2993, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2993, allocations: 0 / 1.07 GB, free: 8.867 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.0003951/0.2997, allocations: 335.7 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2997, allocations: 8.031 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.2998, allocations: 4.938 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2999, allocations: 172.4 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2999, allocations: 4.375 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2999, allocations: 8.312 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3001, allocations: 46.23 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3001, allocations: 8.188 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.3001, allocations: 3.938 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3001, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.3003, allocations: 31.97 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.3006, allocations: 257 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3007, allocations: 38.38 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.353e-05/0.3008, allocations: 20.91 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3009, allocations: 8 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.3009, allocations: 30.56 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3009, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003204/0.3012, allocations: 77.55 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.3013, allocations: 55.34 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.3013, allocations: 106 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3014, allocations: 25.7 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.3014, allocations: 80.14 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.3014, allocations: 3.938 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.3015, allocations: 17.72 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.3016, allocations: 310.8 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.3016, allocations: 11.98 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.3017, allocations: 23.97 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3019, allocations: 28.83 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3019, allocations: 7.938 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001814/0.3021, allocations: 65.5 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3021, allocations: 8 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3021, allocations: 96 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3021, allocations: 4 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.3023, allocations: 23.97 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3023, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.3024, allocations: 7.984 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3024, allocations: 0 / 1.071 GB, free: 6.844 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 7.474e-05/0.3024, allocations: 114.3 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.3025, allocations: 8.188 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.3025, allocations: 7.109 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3025, allocations: 0 / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3025, allocations: 0 / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3025, allocations: 0 / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.3027, allocations: 161.6 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3027, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3028, allocations: 23.97 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3028, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.3028, allocations: 4 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3028, allocations: 3.938 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3029, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.3031, allocations: 163.4 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.3031, allocations: 81.11 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3031, allocations: 3.984 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.3032, allocations: 12.03 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.3033, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.3033, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001008/0.3034, allocations: 83.27 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3034, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002119/0.3036, allocations: 4 kB / 1.072 GB, free: 6.094 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.0001027/0.3037, allocations: 95.25 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3039, allocations: 35.97 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3039, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.304, allocations: 23.91 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3043, allocations: 16.38 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.3046, allocations: 113.4 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3048, allocations: 0.6768 MB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.3049, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.3049, allocations: 7.438 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3049, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of Templates: time 0.002332/0.3072, allocations: 412.5 kB / 1.073 GB, free: 4.668 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)