Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.989/4.989, allocations: 0.5623 GB / 0.577 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002374/0.002373, allocations: 361.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.021/4.021, allocations: 410.7 MB / 1.112 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 184.1 kB / 1.225 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004829, allocations: 16 kB / 1.348 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.5824, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.0007327/0.5831, allocations: 400 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007663/0.5839, allocations: 0.7815 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.584, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.584, allocations: 0.75 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.5841, allocations: 4.531 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.048e-05/0.5841, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.5842, allocations: 24.52 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.658e-05/0.5842, allocations: 1.125 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.5843, allocations: 15.92 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.5844, allocations: 5.406 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.5844, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-06/0.5844, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.5844, allocations: 11.92 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.5844, allocations: 30.61 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.502e-05/0.5845, allocations: 15.95 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.122e-06/0.5845, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.795e-06/0.5845, allocations: 4.688 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.043e-06/0.5845, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 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.0003285/0.5849, allocations: 336.9 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.5849, allocations: 11.62 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.585, allocations: 7.906 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.059e-05/0.5851, allocations: 167 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5851, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-06/0.5851, allocations: 1.125 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.5853, allocations: 55.73 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.549e-06/0.5853, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-06/0.5853, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5853, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.5855, allocations: 50.52 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.5859, allocations: 267.2 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.586, allocations: 39.25 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.5861, allocations: 24.91 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.5861, allocations: 4.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.5862, allocations: 35.25 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.949e-06/0.5862, allocations: 1.094 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0003603/0.5865, allocations: 89.67 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.5866, allocations: 51.41 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.436e-05/0.5866, allocations: 105.8 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.623e-06/0.5867, allocations: 26.98 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.5867, allocations: 91.97 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.5867, allocations: 4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-06/0.5867, allocations: 1 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.5868, allocations: 310.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.5869, allocations: 22.61 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.587, allocations: 25.67 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.5871, allocations: 16.98 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-06/0.5871, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002394/0.5874, allocations: 75.88 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.5874, allocations: 7.594 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.5874, allocations: 1.781 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5875, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.5877, allocations: 37.58 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.731e-06/0.5877, allocations: 8.625 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.5878, allocations: 6.656 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-06/0.5878, allocations: 3.953 kB / 1.464 GB, free: 281 MB / 0.8542 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 5.366e-05/0.5878, allocations: 109.8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.462e-05/0.5879, allocations: 7.984 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.5879, allocations: 3.125 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-06/0.5879, allocations: 0.5938 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.969e-06/0.5879, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-06/0.5879, allocations: 1.219 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.5881, allocations: 161.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-06/0.5881, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.5883, allocations: 46.27 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5883, allocations: 0.5938 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-06/0.5883, allocations: 3.328 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.152e-06/0.5883, allocations: 0.6562 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.66e-06/0.5883, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.5886, allocations: 171.1 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.5886, allocations: 77.67 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5886, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.5887, allocations: 13.17 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.5888, allocations: 4.969 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.5888, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.66e-05/0.5888, allocations: 83.28 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.22e-07/0.5889, allocations: 2.25 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002836/0.5892, allocations: 4 kB / 1.464 GB, free: 280.3 MB / 0.8542 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 8.285e-05/0.5892, allocations: 95.25 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.5895, allocations: 50.33 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.679e-06/0.5895, allocations: 2.688 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.5896, allocations: 15.98 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.5899, allocations: 13.38 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.5902, allocations: 101.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.5903, allocations: 0.6783 MB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.5904, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.5904, allocations: 7.969 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.65e-06/0.5904, allocations: 0.7188 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.002422/0.5928, allocations: 337.8 kB / 1.466 GB, free: 279 MB / 0.8542 GB