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/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.000997/0.000997, allocations: 176.7 kB / 326.5 MB, free: 2.727 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0007783/0.0007781, allocations: 93.23 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 11.34 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1954, allocations: 105.4 MB / 0.8968 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001366/0.1968, allocations: 1.102 MB / 0.8978 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.1971, allocations: 100.5 kB / 0.8979 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.1971, allocations: 0 / 0.8979 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.1972, allocations: 3.938 kB / 0.8979 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.738e-05/0.1973, allocations: 8 kB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.391e-05/0.1973, allocations: 4 kB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.1974, allocations: 27.86 kB / 0.898 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.1975, allocations: 7.984 kB / 0.898 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.1975, allocations: 11.98 kB / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.1976, allocations: 3.938 kB / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1976, allocations: 4 kB / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-06/0.1976, allocations: 0 / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.1976, allocations: 0 / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.1977, allocations: 15.92 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.789e-05/0.1977, allocations: 15.97 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1977, allocations: 0 / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1977, allocations: 0 / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.1977, allocations: 4 kB / 0.898 GB, free: 66.91 MB / 0.6042 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.0003734/0.1981, allocations: 339.7 kB / 0.8984 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1982, allocations: 8.031 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.1982, allocations: 0.9375 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.339e-05/0.1983, allocations: 172.3 kB / 0.8985 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.1983, allocations: 384 / 0.8985 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1983, allocations: 384 / 0.8985 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1985, allocations: 62.16 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1985, allocations: 192 / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1985, allocations: 3.938 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1985, allocations: 3.938 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1987, allocations: 47.95 kB / 0.8986 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.199, allocations: 260.9 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1991, allocations: 51.22 kB / 0.8989 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.1992, allocations: 20.91 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.1992, allocations: 0 / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.1992, allocations: 38.56 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1993, allocations: 0 / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003044/0.1996, allocations: 93.73 kB / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1996, allocations: 51.41 kB / 0.8991 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.711e-05/0.1997, allocations: 97.8 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.1997, allocations: 25.7 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.1997, allocations: 88.14 kB / 0.8993 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1997, allocations: 7.891 kB / 0.8993 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.1997, allocations: 9.719 kB / 0.8994 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.1998, allocations: 310.8 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.1999, allocations: 28.02 kB / 0.8997 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.1999, allocations: 15.98 kB / 0.8997 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.2001, allocations: 48.88 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2001, allocations: 7.938 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001548/0.2003, allocations: 69.67 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2003, allocations: 10.59 kB / 0.8998 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2003, allocations: 3.938 kB / 0.8998 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2003, allocations: 0 / 0.8998 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.2005, allocations: 39.95 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2005, allocations: 8.016 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.2006, allocations: 7.938 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.2006, allocations: 0 / 0.8999 GB, free: 64.79 MB / 0.6042 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 4.947e-05/0.2006, allocations: 117.8 kB / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.2007, allocations: 0 / 0.9 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.2007, allocations: 7.125 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2007, allocations: 0 / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2007, allocations: 0 / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2007, allocations: 8 kB / 0.9 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2008, allocations: 153.6 kB / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2008, allocations: 4 kB / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2009, allocations: 43.89 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.201, allocations: 0 / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.201, allocations: 0 / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.201, allocations: 4 kB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.201, allocations: 0 / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.2012, allocations: 175.4 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.2012, allocations: 81.02 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.2012, allocations: 0 / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.2013, allocations: 11.98 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.2013, allocations: 0 / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.2013, allocations: 0 / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.16e-05/0.2013, allocations: 87.45 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2014, allocations: 0 / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001883/0.2015, allocations: 4 kB / 0.9005 GB, free: 64.02 MB / 0.6042 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.0001218/0.2017, allocations: 103.3 kB / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.2019, allocations: 39.97 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2019, allocations: 0 / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.151e-05/0.202, allocations: 24.05 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2022, allocations: 7.938 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.2025, allocations: 132.9 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.2026, allocations: 0.677 MB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.2026, allocations: 11.5 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2026, allocations: 0 / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.001546/0.2042, allocations: 0.5074 MB / 0.902 GB, free: 62.45 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile (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)