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.001091/0.001092, allocations: 103.6 kB / 16.29 MB, free: 6.055 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.001183/0.001183, allocations: 185.6 kB / 17.22 MB, free: 5.664 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.585/1.585, allocations: 205.1 MB / 223.1 MB, free: 12.18 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.917/1.917, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001493/0.001494, allocations: 67.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3524, allocations: 114.5 MB / 0.7841 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002219/0.3547, allocations: 0.5451 MB / 0.7846 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.3555, allocations: 327.8 kB / 0.7849 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.3555, allocations: 4 kB / 0.7849 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.3556, allocations: 0 / 0.7849 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.086e-05/0.3556, allocations: 0 / 0.7849 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.3561, allocations: 107.6 kB / 0.785 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.049e-05/0.3562, allocations: 11.98 kB / 0.785 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.3562, allocations: 4 kB / 0.785 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.3563, allocations: 4 kB / 0.785 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.3563, allocations: 3.938 kB / 0.785 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3564, allocations: 0 / 0.785 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.3567, allocations: 195.7 kB / 0.7852 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.3567, allocations: 4 kB / 0.7852 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.3567, allocations: 7.938 kB / 0.7852 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3569, allocations: 75.86 kB / 0.7853 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3569, allocations: 0 / 0.7853 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3569, allocations: 0 / 0.7853 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3569, allocations: 0 / 0.7853 GB, free: 2.594 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.0004604/0.3574, allocations: 339.8 kB / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3575, allocations: 8.031 kB / 0.7856 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3575, allocations: 12.83 kB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.3577, allocations: 172.3 kB / 0.7858 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3577, allocations: 8.312 kB / 0.7858 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3577, allocations: 384 / 0.7858 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.3579, allocations: 34.25 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3579, allocations: 192 / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3579, allocations: 7.938 kB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3579, allocations: 0 / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.3579, allocations: 0 / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.3581, allocations: 157.7 kB / 0.786 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/0.3582, allocations: 26.55 kB / 0.786 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.3582, allocations: 8.922 kB / 0.7861 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/0.359, allocations: 0.5778 MB / 0.7866 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.359, allocations: 34.56 kB / 0.7867 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.359, allocations: 0 / 0.7867 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0007033/0.3597, allocations: 250.2 kB / 0.7869 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.3598, allocations: 55.41 kB / 0.7869 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.3599, allocations: 102.1 kB / 0.787 GB, free: 468 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3599, allocations: 29.7 kB / 0.7871 GB, free: 432 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.36, allocations: 84.12 kB / 0.7871 GB, free: 344 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.36, allocations: 7.906 kB / 0.7872 GB, free: 336 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.36, allocations: 13.72 kB / 0.7872 GB, free: 316 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.5031/0.8631, allocations: 316.6 kB / 0.7875 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.8632, allocations: 4.156 kB / 0.7875 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-05/0.8633, allocations: 17.62 kB / 0.7875 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.911e-05/0.8634, allocations: 29.81 kB / 0.7875 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8634, allocations: 2.562 kB / 0.7875 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.8635, allocations: 56.97 kB / 0.7876 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.8635, allocations: 6.562 kB / 0.7876 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.8636, allocations: 0.5156 kB / 0.7876 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.8636, allocations: 1.094 kB / 0.7876 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.8637, allocations: 8 kB / 0.7876 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8637, allocations: 11.39 kB / 0.7876 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.8637, allocations: 0 / 0.7876 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.8637, allocations: 2.719 kB / 0.7876 GB, free: 48.31 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 6.632e-05/0.8638, allocations: 114.8 kB / 0.7877 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.8638, allocations: 0 / 0.7877 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.8639, allocations: 61.42 kB / 0.7878 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.864, allocations: 4.125 kB / 0.7878 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.864, allocations: 3.938 kB / 0.7878 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.864, allocations: 3.031 kB / 0.7878 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.8641, allocations: 151.9 kB / 0.7879 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8641, allocations: 0.5938 kB / 0.7879 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.8642, allocations: 11.25 kB / 0.7879 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8642, allocations: 0.625 kB / 0.7879 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.8642, allocations: 1.531 kB / 0.7879 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.8642, allocations: 0.75 kB / 0.7879 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8642, allocations: 3.938 kB / 0.7879 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.8644, allocations: 86.11 kB / 0.788 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.8644, allocations: 80.08 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.8644, allocations: 4.969 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.8645, allocations: 2.312 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.8645, allocations: 7.312 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.8645, allocations: 2.344 kB / 0.7881 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.8646, allocations: 84.08 kB / 0.7882 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8646, allocations: 0.5938 kB / 0.7882 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002813/0.8649, allocations: 25.91 kB / 0.7882 GB, free: 47.73 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.0002128/0.8651, allocations: 123.6 kB / 0.7883 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.743e-05/0.8652, allocations: 20.48 kB / 0.7884 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8652, allocations: 2.75 kB / 0.7884 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/0.8652, allocations: 8.656 kB / 0.7884 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.8654, allocations: 3.469 kB / 0.7884 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.8656, allocations: 107.8 kB / 0.7885 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.8658, allocations: 0.6773 MB / 0.7891 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.636e-05/0.8658, allocations: 3.625 kB / 0.7891 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.8658, allocations: 10.78 kB / 0.7892 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.8658, allocations: 0.5 kB / 0.7892 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.003799/0.8696, allocations: 1.213 MB / 0.7903 GB, free: 46.85 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)