Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001016/0.001016, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001072/0.001072, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.617/1.617, allocations: 251.9 MB / 0.51 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005665/0.0005667, allocations: 27.73 kB / 0.6242 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.6995, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001546/0.7011, allocations: 1.087 MB / 0.7291 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.7014, allocations: 95.27 kB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.7015, allocations: 3.938 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.7015, allocations: 0 / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.557e-05/0.7016, allocations: 7.984 kB / 0.7292 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.361e-05/0.7016, allocations: 11.92 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.7017, allocations: 8 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.7018, allocations: 4 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.7019, allocations: 19.91 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.408e-05/0.7019, allocations: 7.984 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.7019, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.702, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.702, allocations: 4 kB / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.702, allocations: 29.7 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.708e-05/0.7021, allocations: 11.91 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.7021, allocations: 0 / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.835e-06/0.7021, allocations: 4 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.7021, allocations: 0 / 0.7293 GB, free: 10.12 MB / 0.545 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.0004516/0.7026, allocations: 345.3 kB / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.7026, allocations: 8.031 kB / 0.7296 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.7026, allocations: 0 / 0.7296 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.7028, allocations: 167 kB / 0.7298 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.7028, allocations: 0 / 0.7298 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.7028, allocations: 0 / 0.7298 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.703, allocations: 57.67 kB / 0.7298 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.703, allocations: 0 / 0.7298 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.703, allocations: 3.938 kB / 0.7298 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.7031, allocations: 0 / 0.7298 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.7032, allocations: 51.89 kB / 0.7299 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.7037, allocations: 268.7 kB / 0.7301 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.7038, allocations: 46.59 kB / 0.7302 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.7038, allocations: 0 / 0.7302 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.7038, allocations: 30.56 kB / 0.7302 GB, free: 9.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.7038, allocations: 0 / 0.7302 GB, free: 9.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0003519/0.7042, allocations: 89.66 kB / 0.7303 GB, free: 8.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.7042, allocations: 59.39 kB / 0.7303 GB, free: 8.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/0.7043, allocations: 97.86 kB / 0.7304 GB, free: 8.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.7043, allocations: 25.7 kB / 0.7305 GB, free: 8.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.7044, allocations: 80.14 kB / 0.7305 GB, free: 8.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.7044, allocations: 3.906 kB / 0.7305 GB, free: 8.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.7044, allocations: 4.125 kB / 0.7305 GB, free: 8.613 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.7045, allocations: 326.8 kB / 0.7308 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.7046, allocations: 15.98 kB / 0.7309 GB, free: 8.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.7047, allocations: 15.98 kB / 0.7309 GB, free: 8.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.29e-05/0.7048, allocations: 28.05 kB / 0.7309 GB, free: 8.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7048, allocations: 0 / 0.7309 GB, free: 8.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001775/0.705, allocations: 73.62 kB / 0.731 GB, free: 8.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.705, allocations: 11.94 kB / 0.731 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.705, allocations: 0 / 0.731 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.705, allocations: 4 kB / 0.731 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.7052, allocations: 31.97 kB / 0.731 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7052, allocations: 3.984 kB / 0.731 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.7053, allocations: 15.98 kB / 0.731 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.7053, allocations: 0 / 0.731 GB, free: 8.082 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.7054, allocations: 113.8 kB / 0.7311 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.7054, allocations: 0 / 0.7311 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.7055, allocations: 7.109 kB / 0.7312 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.7055, allocations: 0 / 0.7312 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7055, allocations: 4 kB / 0.7312 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7055, allocations: 0 / 0.7312 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.7056, allocations: 161.6 kB / 0.7313 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.7057, allocations: 0 / 0.7313 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.7058, allocations: 43.89 kB / 0.7314 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.7058, allocations: 192 / 0.7314 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.7058, allocations: 0 / 0.7314 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7058, allocations: 0 / 0.7314 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7058, allocations: 4 kB / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.7061, allocations: 171.4 kB / 0.7315 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.7061, allocations: 89.03 kB / 0.7316 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.7062, allocations: 0 / 0.7316 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.7062, allocations: 8 kB / 0.7316 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.7063, allocations: 3.984 kB / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.7063, allocations: 0 / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.7063, allocations: 83.28 kB / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7063, allocations: 0 / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000204/0.7066, allocations: 4 kB / 0.7317 GB, free: 7.309 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.7067, allocations: 103.2 kB / 0.7318 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.7069, allocations: 43.95 kB / 0.7318 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.707, allocations: 0 / 0.7318 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.707, allocations: 23.98 kB / 0.7319 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.7073, allocations: 10.7 kB / 0.7319 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.7075, allocations: 104.7 kB / 0.732 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.7078, allocations: 0.677 MB / 0.7326 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.7078, allocations: 4.062 kB / 0.7326 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.7079, allocations: 7.438 kB / 0.7326 GB, free: 6.281 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7079, allocations: 4 kB / 0.7327 GB, free: 6.277 MB / 0.545 GB Notification: Performance of Templates: time 0.002226/0.7101, allocations: 329.2 kB / 0.733 GB, free: 5.961 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) Environment - environmentSimulation: