Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001241/0.001241, allocations: 191.3 kB / 16.13 MB, free: 6.699 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.509/1.509, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5804/0.5804, allocations: 95.48 MB / 364.8 MB, free: 10.07 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 68.47 kB / 444.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4009, allocations: 69.07 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002154/0.4031, allocations: 0.5926 MB / 0.5023 GB, free: 17.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007287/0.4039, allocations: 346.9 kB / 0.5026 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.4039, allocations: 4 kB / 0.5026 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.4039, allocations: 3.938 kB / 0.5026 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.404, allocations: 0 / 0.5026 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.4044, allocations: 59.86 kB / 0.5027 GB, free: 16.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.4045, allocations: 8 kB / 0.5027 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.689e-05/0.4045, allocations: 11.98 kB / 0.5027 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.714e-05/0.4046, allocations: 3.984 kB / 0.5027 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.4046, allocations: 7.938 kB / 0.5027 GB, free: 16.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.4047, allocations: 0 / 0.5027 GB, free: 16.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.405, allocations: 183.8 kB / 0.5029 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.405, allocations: 4 kB / 0.5029 GB, free: 16.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.405, allocations: 11.91 kB / 0.5029 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.4052, allocations: 75.86 kB / 0.503 GB, free: 16.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4052, allocations: 0 / 0.503 GB, free: 16.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.4052, allocations: 4 kB / 0.503 GB, free: 16.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.4052, allocations: 4 kB / 0.503 GB, free: 16.32 MB / 382.1 MB 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.0003677/0.4056, allocations: 337.5 kB / 0.5033 GB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4057, allocations: 15.98 kB / 0.5033 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.4057, allocations: 0.9375 kB / 0.5033 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.4058, allocations: 168.3 kB / 0.5035 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4058, allocations: 8.375 kB / 0.5035 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4058, allocations: 4.375 kB / 0.5035 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.996e-05/0.4059, allocations: 34.25 kB / 0.5035 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.406, allocations: 8.125 kB / 0.5035 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.406, allocations: 3.938 kB / 0.5035 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.406, allocations: 0 / 0.5035 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.406, allocations: 4 kB / 0.5035 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.4062, allocations: 157.6 kB / 0.5037 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.943e-05/0.4062, allocations: 30.5 kB / 0.5037 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.4063, allocations: 4.922 kB / 0.5037 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005767/0.4068, allocations: 0.5778 MB / 0.5043 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.4069, allocations: 38.5 kB / 0.5043 GB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4069, allocations: 0 / 0.5043 GB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005075/0.4074, allocations: 254.5 kB / 0.5046 GB, free: 14.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.4074, allocations: 51.41 kB / 0.5046 GB, free: 14.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.4075, allocations: 97.86 kB / 0.5047 GB, free: 14.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.4076, allocations: 25.7 kB / 0.5047 GB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.4076, allocations: 80.14 kB / 0.5048 GB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.4076, allocations: 23.73 kB / 0.5048 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.4077, allocations: 13.72 kB / 0.5048 GB, free: 14.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.4077, allocations: 318.9 kB / 0.5051 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.4078, allocations: 7.984 kB / 0.5052 GB, free: 13.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.4078, allocations: 13.72 kB / 0.5052 GB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/0.4079, allocations: 29.66 kB / 0.5052 GB, free: 13.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4079, allocations: 0 / 0.5052 GB, free: 13.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.366e-05/0.4079, allocations: 57.69 kB / 0.5053 GB, free: 13.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.408, allocations: 11.94 kB / 0.5053 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.408, allocations: 0 / 0.5053 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.408, allocations: 0 / 0.5053 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.4081, allocations: 8 kB / 0.5053 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4081, allocations: 0 / 0.5053 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.4081, allocations: 0 / 0.5053 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4081, allocations: 4 kB / 0.5053 GB, free: 13.56 MB / 382.1 MB 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 5.811e-05/0.4082, allocations: 113.8 kB / 0.5054 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.4082, allocations: 7.938 kB / 0.5054 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.4083, allocations: 61.12 kB / 0.5054 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4083, allocations: 0 / 0.5054 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4083, allocations: 0 / 0.5054 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4083, allocations: 0 / 0.5054 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.4085, allocations: 153.7 kB / 0.5056 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4085, allocations: 0 / 0.5056 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.4085, allocations: 11.98 kB / 0.5056 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4086, allocations: 3.938 kB / 0.5056 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4086, allocations: 384 / 0.5056 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4086, allocations: 0 / 0.5056 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4086, allocations: 4 kB / 0.5056 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.4087, allocations: 89.02 kB / 0.5057 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.4088, allocations: 77.11 kB / 0.5058 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.4088, allocations: 7.938 kB / 0.5058 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.4088, allocations: 0 / 0.5058 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.4089, allocations: 11.95 kB / 0.5058 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.4089, allocations: 0 / 0.5058 GB, free: 12.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.4089, allocations: 83.34 kB / 0.5059 GB, free: 12.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4089, allocations: 3.938 kB / 0.5059 GB, free: 12.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.4092, allocations: 28 kB / 0.5059 GB, free: 12.81 MB / 382.1 MB 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.0002101/0.4094, allocations: 127.2 kB / 0.506 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.4095, allocations: 19.98 kB / 0.506 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4095, allocations: 0 / 0.506 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.4095, allocations: 7.938 kB / 0.506 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.4097, allocations: 4 kB / 0.5061 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.4099, allocations: 115.4 kB / 0.5062 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.4101, allocations: 0.677 MB / 0.5068 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.491e-05/0.4101, allocations: 7.984 kB / 0.5068 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.4102, allocations: 11.44 kB / 0.5068 GB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4102, allocations: 0 / 0.5068 GB, free: 11.79 MB / 382.1 MB Notification: Performance of Templates: time 0.003954/0.4141, allocations: 1.201 MB / 0.508 GB, free: 10.6 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)