Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.181/2.181, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.001429, allocations: 186.5 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.359/2.359, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000915/0.0009146, allocations: 91.61 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 14.09 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.236, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/0.481, allocations: 131.2 MB / 1.028 GB, free: 14.18 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004273/0.4815, allocations: 71.97 kB / 1.028 GB, free: 14.11 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.003362/0.4849, allocations: 0.606 MB / 1.028 GB, free: 13.5 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.935e-06/0.4849, allocations: 0 / 1.028 GB, free: 13.5 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.485, allocations: 0 / 1.028 GB, free: 13.5 MB / 0.6824 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.0007022/0.4857, allocations: 349 kB / 1.029 GB, free: 13.11 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.4858, allocations: 12.03 kB / 1.029 GB, free: 13.09 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.4858, allocations: 4.922 kB / 1.029 GB, free: 13.09 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.486, allocations: 160.4 kB / 1.029 GB, free: 12.89 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4861, allocations: 384 / 1.029 GB, free: 12.89 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.4861, allocations: 4.375 kB / 1.029 GB, free: 12.89 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.4865, allocations: 54.23 kB / 1.029 GB, free: 12.83 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4866, allocations: 8.125 kB / 1.029 GB, free: 12.82 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4866, allocations: 3.938 kB / 1.029 GB, free: 12.82 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4866, allocations: 3.938 kB / 1.029 GB, free: 12.82 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.4871, allocations: 39.97 kB / 1.029 GB, free: 12.78 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008707/0.488, allocations: 268.9 kB / 1.029 GB, free: 12.46 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.4884, allocations: 38.5 kB / 1.029 GB, free: 12.42 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.4887, allocations: 28.91 kB / 1.029 GB, free: 12.39 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.4887, allocations: 0 / 1.029 GB, free: 12.39 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.4888, allocations: 38.5 kB / 1.029 GB, free: 12.34 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 3.567e-06/0.4888, allocations: 0 / 1.029 GB, free: 12.34 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0009213/0.4897, allocations: 93.64 kB / 1.029 GB, free: 12.24 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.4898, allocations: 51.41 kB / 1.029 GB, free: 12.18 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.49, allocations: 101.8 kB / 1.029 GB, free: 12.07 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.49, allocations: 25.7 kB / 1.029 GB, free: 12.04 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.4901, allocations: 80.27 kB / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.4902, allocations: 7.938 kB / 1.03 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/0.4902, allocations: 4 kB / 1.03 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4904, allocations: 310.8 kB / 1.03 GB, free: 11.63 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.4907, allocations: 23.97 kB / 1.03 GB, free: 11.61 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.4909, allocations: 23.92 kB / 1.03 GB, free: 11.59 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.4912, allocations: 19.98 kB / 1.03 GB, free: 11.57 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.4912, allocations: 3.938 kB / 1.03 GB, free: 11.56 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006381/0.4919, allocations: 73.64 kB / 1.03 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.492, allocations: 9.703 kB / 1.03 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.492, allocations: 7.938 kB / 1.03 GB, free: 11.47 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.492, allocations: 0 / 1.03 GB, free: 11.47 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.4922, allocations: 4 kB / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.4923, allocations: 4 kB / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.4924, allocations: 7.984 kB / 1.03 GB, free: 11.45 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.4925, allocations: 4.031 kB / 1.03 GB, free: 11.45 MB / 0.6824 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 0.0001639/0.4927, allocations: 117.8 kB / 1.03 GB, free: 11.32 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.4928, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.4928, allocations: 3.125 kB / 1.03 GB, free: 11.32 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.4929, allocations: 4.172 kB / 1.03 GB, free: 11.32 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.4929, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.4929, allocations: 3.984 kB / 1.03 GB, free: 11.31 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.4933, allocations: 161.5 kB / 1.03 GB, free: 11.11 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.4933, allocations: 4 kB / 1.03 GB, free: 11.1 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.4935, allocations: 15.92 kB / 1.03 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4935, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4936, allocations: 4 kB / 1.03 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.4936, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4936, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006664/0.4943, allocations: 171.5 kB / 1.031 GB, free: 10.9 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.4944, allocations: 85.11 kB / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4944, allocations: 0 / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4947, allocations: 7.984 kB / 1.031 GB, free: 10.79 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.4947, allocations: 0 / 1.031 GB, free: 10.79 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.4948, allocations: 4.031 kB / 1.031 GB, free: 10.79 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 7.755e-05/0.4949, allocations: 79.28 kB / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of sort global known variables: time 7.11e-07/0.4949, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004441/0.4953, allocations: 4 kB / 1.031 GB, free: 10.7 MB / 0.6824 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.0002837/0.4956, allocations: 99.25 kB / 1.031 GB, free: 10.59 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.000587/0.4963, allocations: 51.89 kB / 1.031 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4963, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002549/0.4966, allocations: 19.98 kB / 1.031 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.4969, allocations: 7.938 kB / 1.031 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.4973, allocations: 112.7 kB / 1.031 GB, free: 10.38 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4976, allocations: 0.6731 MB / 1.032 GB, free: 9.68 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 3.405e-05/0.4977, allocations: 0 / 1.032 GB, free: 9.68 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.4977, allocations: 7.438 kB / 1.032 GB, free: 9.672 MB / 0.6824 GB Notification: Performance of SimCode: time 8.71e-07/0.4977, allocations: 3.938 kB / 1.032 GB, free: 9.668 MB / 0.6824 GB Notification: Performance of Templates: time 0.003011/0.5007, allocations: 330.1 kB / 1.032 GB, free: 9.348 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)