Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7492/0.7492, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 172.7 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 426.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000853/0.0008527, allocations: 89.55 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00178/0.001781, allocations: 267.3 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004937, allocations: 20 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3796, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.5035, allocations: 107 MB / 0.8439 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.5038, allocations: 83.94 kB / 0.844 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005971/0.5098, allocations: 1.829 MB / 0.8458 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.517e-06/0.5098, allocations: 4 kB / 0.8458 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5098, allocations: 7.938 kB / 0.8458 GB, free: 1.316 MB / 0.5105 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.0003501/0.5102, allocations: 335.5 kB / 0.8461 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5103, allocations: 8.031 kB / 0.8461 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.5103, allocations: 4.938 kB / 0.8461 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.5104, allocations: 176.2 kB / 0.8463 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.5105, allocations: 384 / 0.8463 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.5105, allocations: 4.375 kB / 0.8463 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.572e-05/0.5106, allocations: 30.27 kB / 0.8463 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5106, allocations: 4.188 kB / 0.8464 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5106, allocations: 3.938 kB / 0.8464 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5106, allocations: 0 / 0.8464 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.5107, allocations: 7.938 kB / 0.8464 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.5108, allocations: 153.7 kB / 0.8465 GB, free: 472 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.5109, allocations: 26.56 kB / 0.8465 GB, free: 436 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.5109, allocations: 4.859 kB / 0.8465 GB, free: 428 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006123/0.5115, allocations: 0.5779 MB / 0.8471 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.5116, allocations: 40.72 kB / 0.8471 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.5116, allocations: 0 / 0.8471 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005898/0.5122, allocations: 254.4 kB / 0.8474 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.5122, allocations: 51.41 kB / 0.8474 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.5123, allocations: 97.86 kB / 0.8475 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.5123, allocations: 25.7 kB / 0.8476 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.5124, allocations: 88.08 kB / 0.8476 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.5124, allocations: 11.89 kB / 0.8476 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.5124, allocations: 3.938 kB / 0.8477 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5126, allocations: 310.9 kB / 0.8479 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.5126, allocations: 8 kB / 0.848 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/0.5126, allocations: 21.7 kB / 0.848 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.249e-05/0.5127, allocations: 25.72 kB / 0.848 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.5127, allocations: 0 / 0.848 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.171e-05/0.5128, allocations: 53.58 kB / 0.8481 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.5128, allocations: 15.98 kB / 0.8481 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5129, allocations: 0 / 0.8481 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.5129, allocations: 4 kB / 0.8481 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.5129, allocations: 4 kB / 0.8481 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.513, allocations: 0 / 0.8481 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.513, allocations: 0 / 0.8481 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.513, allocations: 4 kB / 0.8481 GB, free: 14.59 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.5131, allocations: 109.8 kB / 0.8482 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.5131, allocations: 11.84 kB / 0.8482 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.5132, allocations: 61.44 kB / 0.8483 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5132, allocations: 0 / 0.8483 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.5133, allocations: 0 / 0.8483 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5133, allocations: 48 / 0.8483 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.5134, allocations: 157.7 kB / 0.8484 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5134, allocations: 4 kB / 0.8484 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.5135, allocations: 4 kB / 0.8484 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.5135, allocations: 3.938 kB / 0.8484 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.5135, allocations: 0 / 0.8484 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5135, allocations: 0 / 0.8484 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5135, allocations: 4 kB / 0.8484 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.5136, allocations: 85.05 kB / 0.8485 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.5137, allocations: 77.11 kB / 0.8486 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.5137, allocations: 3.938 kB / 0.8486 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-05/0.5138, allocations: 4 kB / 0.8486 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.5138, allocations: 8.031 kB / 0.8486 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5138, allocations: 0 / 0.8486 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.5138, allocations: 83.33 kB / 0.8487 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5138, allocations: 7.938 kB / 0.8487 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002488/0.5141, allocations: 31.94 kB / 0.8487 GB, free: 13.85 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002313/0.5143, allocations: 139.2 kB / 0.8488 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.347e-05/0.5144, allocations: 19.92 kB / 0.8489 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5144, allocations: 0 / 0.8489 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.5145, allocations: 4 kB / 0.8489 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.5146, allocations: 13.5 kB / 0.8489 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.5149, allocations: 121 kB / 0.849 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.5152, allocations: 0.677 MB / 0.8497 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.5152, allocations: 11.97 kB / 0.8497 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.5152, allocations: 7.438 kB / 0.8497 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.5152, allocations: 4 kB / 0.8497 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.003151/0.5184, allocations: 1.155 MB / 0.8508 GB, free: 11.65 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)