Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001122/0.001122, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001113/0.001114, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.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.002222/0.002222, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2598, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002183/0.2621, allocations: 0.5415 MB / 0.7853 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000677/0.2628, allocations: 323.8 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.2628, allocations: 3.938 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.2628, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.034e-05/0.2629, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.2633, allocations: 107.6 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.136e-05/0.2634, allocations: 7.984 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.2634, allocations: 4 kB / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.804e-05/0.2634, allocations: 0 / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.2635, allocations: 15.92 kB / 0.7858 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2635, allocations: 0 / 0.7858 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.2638, allocations: 195.8 kB / 0.786 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.2638, allocations: 0 / 0.786 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.2639, allocations: 7.938 kB / 0.786 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.264, allocations: 75.86 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.2641, allocations: 4 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2641, allocations: 0 / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.2641, allocations: 0 / 0.786 GB, free: 1.891 MB / 0.6544 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.0003652/0.2644, allocations: 335.5 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2645, allocations: 12.03 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.2645, allocations: 4.844 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2647, allocations: 180.3 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2647, allocations: 4.312 kB / 0.7865 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.2647, allocations: 4.375 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.948e-05/0.2648, allocations: 34.27 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2648, allocations: 192 / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2649, allocations: 3.938 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2649, allocations: 0 / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.147e-05/0.2649, allocations: 7.984 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.2651, allocations: 149.7 kB / 0.7867 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.2652, allocations: 30.5 kB / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.2652, allocations: 8.922 kB / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/0.2659, allocations: 0.5739 MB / 0.7873 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.2659, allocations: 34.56 kB / 0.7874 GB, free: 236 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2659, allocations: 0 / 0.7874 GB, free: 236 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.4415/0.7074, allocations: 254 kB / 0.7876 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.7075, allocations: 53.03 kB / 0.7877 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.7075, allocations: 98.73 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.7076, allocations: 27.48 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.7076, allocations: 80.98 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.7076, allocations: 11.31 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.7077, allocations: 16.52 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.7077, allocations: 316.3 kB / 0.7882 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.7077, allocations: 3.156 kB / 0.7882 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.7078, allocations: 22.62 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.7078, allocations: 25.31 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.7078, allocations: 0 / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.88e-05/0.7079, allocations: 55.94 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7079, allocations: 7.188 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7079, allocations: 0.9375 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.708, allocations: 10.72 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.708, allocations: 7.188 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.708, allocations: 4.406 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.7081, allocations: 3.938 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.7081, allocations: 3 kB / 0.7883 GB, free: 48.2 MB / 0.6544 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 4.94e-05/0.7081, allocations: 107.4 kB / 0.7884 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.7082, allocations: 2.5 kB / 0.7884 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.7083, allocations: 67.25 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.7083, allocations: 3.703 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7083, allocations: 1.844 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7083, allocations: 1.312 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.7084, allocations: 152.6 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7084, allocations: 3.328 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.7085, allocations: 5.281 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.7085, allocations: 4.438 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.7085, allocations: 4.125 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.7085, allocations: 0.6875 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7085, allocations: 2.031 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.7086, allocations: 78.89 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.7086, allocations: 83.16 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.7086, allocations: 3.938 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.7087, allocations: 0 / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.7087, allocations: 13.98 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.7087, allocations: 2.531 kB / 0.7888 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.168e-05/0.7087, allocations: 78.59 kB / 0.7889 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7088, allocations: 0.5312 kB / 0.7889 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002502/0.709, allocations: 24.03 kB / 0.7889 GB, free: 47.62 MB / 0.6544 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.0001873/0.7092, allocations: 124.4 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.395e-05/0.7093, allocations: 22.28 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7093, allocations: 0 / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.7093, allocations: 10.94 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.7095, allocations: 8.484 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.7097, allocations: 132.3 kB / 0.7892 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.7098, allocations: 0.6785 MB / 0.7899 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.7099, allocations: 12.5 kB / 0.7899 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7099, allocations: 0 / 0.7899 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002252/0.7121, allocations: 0.8297 MB / 0.7907 GB, free: 46.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)