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.005391/0.005391, allocations: 101.6 kB / 15.73 MB, free: 6.039 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: 194.2 kB / 16.68 MB, free: 5.957 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.603/1.603, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.782/1.782, allocations: 251.7 MB / 0.5094 GB, free: 3.023 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.001703/0.001704, allocations: 67.89 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2815, allocations: 104.7 MB / 0.828 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001737/0.2833, allocations: 0.5453 MB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007024/0.284, allocations: 320.2 kB / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.284, allocations: 0 / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.284, allocations: 3.938 kB / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.017e-05/0.2841, allocations: 0 / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.2845, allocations: 111.5 kB / 0.829 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.2846, allocations: 19.84 kB / 0.829 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.602e-05/0.2846, allocations: 8 kB / 0.829 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.2847, allocations: 0 / 0.829 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.2847, allocations: 7.984 kB / 0.829 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.2848, allocations: 0 / 0.829 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.285, allocations: 183.8 kB / 0.8292 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.2851, allocations: 11.92 kB / 0.8292 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.2851, allocations: 0 / 0.8292 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.2853, allocations: 83.73 kB / 0.8293 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.2853, allocations: 8 kB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2853, allocations: 0 / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2853, allocations: 0 / 0.8293 GB, free: 14.89 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.0003841/0.2857, allocations: 337.9 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2857, allocations: 12.03 kB / 0.8296 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.2858, allocations: 4.922 kB / 0.8296 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2859, allocations: 164.4 kB / 0.8298 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2859, allocations: 4.375 kB / 0.8298 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.286, allocations: 4.375 kB / 0.8298 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.2861, allocations: 42.19 kB / 0.8298 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2861, allocations: 192 / 0.8298 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2861, allocations: 3.938 kB / 0.8298 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2861, allocations: 0 / 0.8298 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.2861, allocations: 4 kB / 0.8298 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.2863, allocations: 157.6 kB / 0.83 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.2864, allocations: 22.61 kB / 0.83 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.2864, allocations: 12.92 kB / 0.83 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/0.287, allocations: 0.57 MB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2871, allocations: 38.5 kB / 0.8306 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2871, allocations: 4 kB / 0.8306 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005361/0.2876, allocations: 254.3 kB / 0.8309 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2877, allocations: 51.41 kB / 0.8309 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.2877, allocations: 101.8 kB / 0.831 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2878, allocations: 25.7 kB / 0.831 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.2878, allocations: 80.14 kB / 0.8311 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.2879, allocations: 19.75 kB / 0.8311 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2879, allocations: 17.94 kB / 0.8311 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.288, allocations: 318.8 kB / 0.8315 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.288, allocations: 4 kB / 0.8315 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.2881, allocations: 13.72 kB / 0.8315 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.2881, allocations: 29.66 kB / 0.8315 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2881, allocations: 3.984 kB / 0.8315 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.044e-05/0.2882, allocations: 57.64 kB / 0.8316 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2883, allocations: 7.938 kB / 0.8316 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2883, allocations: 0 / 0.8316 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2883, allocations: 4 kB / 0.8316 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.2884, allocations: 11.92 kB / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2884, allocations: 0 / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.2884, allocations: 0 / 0.8316 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2884, allocations: 4 kB / 0.8316 GB, free: 12.14 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.794e-05/0.2885, allocations: 109.9 kB / 0.8317 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.2885, allocations: 7.938 kB / 0.8317 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.2886, allocations: 53.19 kB / 0.8317 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2886, allocations: 0 / 0.8317 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2886, allocations: 4.359 kB / 0.8318 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2887, allocations: 0 / 0.8318 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.2888, allocations: 153.7 kB / 0.8319 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2888, allocations: 8 kB / 0.8319 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.2888, allocations: 7.938 kB / 0.8319 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2888, allocations: 7.922 kB / 0.8319 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-06/0.2889, allocations: 4 kB / 0.8319 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2889, allocations: 0 / 0.8319 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2889, allocations: 0 / 0.8319 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.289, allocations: 81.03 kB / 0.832 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.289, allocations: 81.09 kB / 0.8321 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2891, allocations: 3.938 kB / 0.8321 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/0.2891, allocations: 3.938 kB / 0.8321 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.2891, allocations: 8.094 kB / 0.8321 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2891, allocations: 0 / 0.8321 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.2892, allocations: 79.28 kB / 0.8322 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2892, allocations: 0 / 0.8322 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002177/0.2894, allocations: 31.98 kB / 0.8322 GB, free: 11.39 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.0002322/0.2896, allocations: 131.2 kB / 0.8323 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.89e-05/0.2898, allocations: 16 kB / 0.8323 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2898, allocations: 0 / 0.8323 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.2898, allocations: 12.12 kB / 0.8324 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.2899, allocations: 3.984 kB / 0.8324 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.2902, allocations: 113.8 kB / 0.8325 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2905, allocations: 0.6766 MB / 0.8331 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.2905, allocations: 11.97 kB / 0.8331 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.2905, allocations: 7.438 kB / 0.8331 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2905, allocations: 4 kB / 0.8331 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.004137/0.2947, allocations: 1.215 MB / 0.8343 GB, free: 9.176 MB / 0.6544 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)