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.001187/0.001187, 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.001386/0.001386, allocations: 189.3 kB / 16.13 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7447 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.86 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3692, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.002347/0.3715, allocations: 0.7465 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3726, allocations: 0.7962 MB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.3727, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.3727, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.3728, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.406e-05/0.3729, allocations: 8 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.187e-05/0.373, allocations: 23.92 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3731, allocations: 8 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.3732, allocations: 7.922 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.3732, allocations: 11.98 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.3732, allocations: 0 / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.3733, allocations: 4 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.3733, allocations: 7.922 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.3733, allocations: 4 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.271e-05/0.3734, allocations: 27.91 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3734, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3734, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.3734, allocations: 4 kB / 1.069 GB, free: 9.281 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.000505/0.3739, allocations: 335.7 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.374, allocations: 8.031 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.374, allocations: 4.922 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3742, allocations: 172.3 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3742, allocations: 384 / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3742, allocations: 4.375 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.3744, allocations: 50.23 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.3744, allocations: 192 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3745, allocations: 3.938 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3745, allocations: 0 / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3746, allocations: 31.97 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.3751, allocations: 261 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3752, allocations: 42.38 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.3753, allocations: 16.91 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.3754, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3754, allocations: 34.56 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3754, allocations: 4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003466/0.3758, allocations: 77.48 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.3758, allocations: 55.41 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.3759, allocations: 101.8 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3759, allocations: 25.7 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.376, allocations: 88.27 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.376, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.376, allocations: 13.72 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3762, allocations: 314.8 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.3763, allocations: 15.98 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.3763, allocations: 11.98 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3765, allocations: 36.89 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3765, allocations: 3.938 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001881/0.3767, allocations: 73.5 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3767, allocations: 4 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3767, allocations: 4 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3767, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.3769, allocations: 24 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3769, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.377, allocations: 7.984 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.377, allocations: 4 kB / 1.071 GB, free: 7.262 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.501e-05/0.3771, allocations: 109.8 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.3771, allocations: 0 / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.3772, allocations: 11.11 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3772, allocations: 4 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3772, allocations: 4 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3772, allocations: 192 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.3773, allocations: 153.6 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3774, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.3775, allocations: 35.88 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3775, allocations: 4 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.3775, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3775, allocations: 3.938 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3776, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.3778, allocations: 159.4 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.3778, allocations: 81.09 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3779, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.3779, allocations: 4 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.378, allocations: 7.984 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.378, allocations: 4.031 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.378, allocations: 83.28 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.71e-07/0.3781, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002058/0.3783, allocations: 0 / 1.072 GB, free: 6.516 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.0001291/0.3784, allocations: 99.25 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.3786, allocations: 31.95 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3786, allocations: 4.062 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.3787, allocations: 19.92 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.379, allocations: 4.5 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.3793, allocations: 107.4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3796, allocations: 0.677 MB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.3796, allocations: 4.062 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.3797, allocations: 7.438 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of SimCode: time 4.3e-07/0.3797, allocations: 3.938 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of Templates: time 0.002405/0.3821, allocations: 345.5 kB / 1.073 GB, free: 5.164 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)