Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001741/0.001741, allocations: 196 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.502/1.502, allocations: 251.6 MB / 0.5089 GB, free: 3.223 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.001487/0.001487, allocations: 68.47 kB / 0.6217 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6267, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001876/0.6286, allocations: 0.6199 MB / 0.7246 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006424/0.6292, allocations: 326.8 kB / 0.7249 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.6293, allocations: 0 / 0.7249 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.6293, allocations: 3.938 kB / 0.7249 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.281e-05/0.6293, allocations: 4 kB / 0.7249 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.6298, allocations: 91.69 kB / 0.725 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.071e-05/0.6298, allocations: 11.94 kB / 0.725 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.6299, allocations: 0 / 0.725 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.6299, allocations: 4 kB / 0.725 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.63, allocations: 3.984 kB / 0.725 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.63, allocations: 8 kB / 0.725 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.6303, allocations: 187.8 kB / 0.7252 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.6303, allocations: 7.938 kB / 0.7252 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.6303, allocations: 0 / 0.7252 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.6305, allocations: 87.78 kB / 0.7253 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6305, allocations: 0 / 0.7253 GB, free: 11.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6305, allocations: 0 / 0.7253 GB, free: 11.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.6305, allocations: 0 / 0.7253 GB, free: 11.76 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003893/0.6309, allocations: 341.5 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.631, allocations: 8.031 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.631, allocations: 8.938 kB / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.6312, allocations: 164.3 kB / 0.7258 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.6312, allocations: 384 / 0.7258 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.6312, allocations: 4.281 kB / 0.7258 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.6313, allocations: 38.25 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6313, allocations: 192 / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.6314, allocations: 3.938 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.6314, allocations: 0 / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.6314, allocations: 8 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.6316, allocations: 153.7 kB / 0.726 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.6317, allocations: 30.55 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.6317, allocations: 4.859 kB / 0.726 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006837/0.6324, allocations: 0.5818 MB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.6324, allocations: 38.48 kB / 0.7266 GB, free: 10.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.6324, allocations: 0 / 0.7266 GB, free: 10.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005361/0.633, allocations: 258.2 kB / 0.7269 GB, free: 9.793 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.633, allocations: 51.41 kB / 0.7269 GB, free: 9.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.6331, allocations: 102.1 kB / 0.727 GB, free: 9.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.6331, allocations: 25.7 kB / 0.727 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.6332, allocations: 80.14 kB / 0.7271 GB, free: 9.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.6332, allocations: 15.8 kB / 0.7271 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.6332, allocations: 13.72 kB / 0.7272 GB, free: 9.473 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6334, allocations: 318.8 kB / 0.7275 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.6334, allocations: 4 kB / 0.7275 GB, free: 9.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.6334, allocations: 21.7 kB / 0.7275 GB, free: 9.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.6335, allocations: 29.66 kB / 0.7275 GB, free: 9.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.6335, allocations: 0 / 0.7275 GB, free: 9.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.254e-05/0.6336, allocations: 53.62 kB / 0.7276 GB, free: 9.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6336, allocations: 11.94 kB / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.6336, allocations: 0 / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6336, allocations: 0 / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.6337, allocations: 8 kB / 0.7276 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6337, allocations: 4.062 kB / 0.7276 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.6337, allocations: 4 kB / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.6337, allocations: 336 / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.211e-05/0.6338, allocations: 113.8 kB / 0.7277 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.6338, allocations: 3.938 kB / 0.7277 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.634, allocations: 65.09 kB / 0.7278 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.634, allocations: 0 / 0.7278 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.634, allocations: 0 / 0.7278 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.634, allocations: 4 kB / 0.7278 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.6341, allocations: 157.7 kB / 0.7279 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6341, allocations: 0 / 0.7279 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.6342, allocations: 4 kB / 0.7279 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6342, allocations: 3.938 kB / 0.7279 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.6342, allocations: 4 kB / 0.7279 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6342, allocations: 0 / 0.7279 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6342, allocations: 3.984 kB / 0.7279 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.6343, allocations: 84.97 kB / 0.728 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.6344, allocations: 81.14 kB / 0.7281 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.6344, allocations: 3.938 kB / 0.7281 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.6344, allocations: 3.938 kB / 0.7281 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.6344, allocations: 3.984 kB / 0.7281 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.6345, allocations: 8 kB / 0.7281 GB, free: 8.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.6345, allocations: 79.28 kB / 0.7282 GB, free: 8.281 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6345, allocations: 3.938 kB / 0.7282 GB, free: 8.277 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002408/0.6347, allocations: 28 kB / 0.7282 GB, free: 8.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002035/0.635, allocations: 127.3 kB / 0.7283 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.635, allocations: 19.98 kB / 0.7284 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6351, allocations: 0 / 0.7284 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.6351, allocations: 7.938 kB / 0.7284 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.6352, allocations: 8 kB / 0.7284 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.6355, allocations: 113.5 kB / 0.7285 GB, free: 7.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.6358, allocations: 0.6808 MB / 0.7291 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.6358, allocations: 4 kB / 0.7291 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.6358, allocations: 11.44 kB / 0.7292 GB, free: 7.219 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6358, allocations: 0 / 0.7292 GB, free: 7.219 MB / 0.545 GB Notification: Performance of Templates: time 0.003457/0.6393, allocations: 1.212 MB / 0.7303 GB, free: 6.039 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)