Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00113/0.00113, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 197.6 kB / 16.53 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 60.34 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.376, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.002229/0.3783, allocations: 0.5465 MB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.3791, allocations: 321.2 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.3791, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.3792, allocations: 3.938 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.232e-05/0.3792, allocations: 3.938 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.3797, allocations: 107.5 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.3798, allocations: 8 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.3799, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.3799, allocations: 7.984 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.38, allocations: 11.92 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.38, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.3803, allocations: 183.8 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.3804, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.3804, allocations: 3.984 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.3806, allocations: 83.8 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3806, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3806, allocations: 7.938 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3806, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 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.0004062/0.381, allocations: 335.8 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3811, allocations: 8.031 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.3811, allocations: 12.84 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.3813, allocations: 164.4 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3813, allocations: 4.359 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3813, allocations: 4.375 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.3815, allocations: 38.2 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3815, allocations: 192 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3815, allocations: 3.938 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3815, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.753e-05/0.3815, allocations: 4 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.3818, allocations: 153.7 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.3818, allocations: 26.56 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.3819, allocations: 8.797 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007603/0.3826, allocations: 0.5818 MB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3827, allocations: 34.5 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3827, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006482/0.3833, allocations: 258.2 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.3834, allocations: 51.41 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.3835, allocations: 97.86 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3835, allocations: 25.7 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.3836, allocations: 80.14 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.3836, allocations: 15.89 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.3836, allocations: 13.72 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3838, allocations: 319.1 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.3838, allocations: 4 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.3838, allocations: 21.7 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.213e-05/0.3839, allocations: 25.66 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3839, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.384, allocations: 57.69 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.384, allocations: 9.344 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3841, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3841, allocations: 3.938 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.3842, allocations: 8 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3842, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.3842, allocations: 4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3842, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 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 0.0001134/0.3843, allocations: 113.8 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.3844, allocations: 12.23 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.3845, allocations: 57.17 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3845, allocations: 3.938 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3845, allocations: 3.938 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3845, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.3847, allocations: 153.7 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3847, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.083e-05/0.3847, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.3848, allocations: 11.92 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3848, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3848, allocations: 4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3848, allocations: 3.938 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.3849, allocations: 73.12 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.385, allocations: 81.14 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.385, allocations: 3.938 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.3851, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.3851, allocations: 3.984 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.3851, allocations: 4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.3852, allocations: 87.28 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3852, allocations: 4 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002587/0.3854, allocations: 27.94 kB / 1.072 GB, free: 5.672 MB / 0.8262 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.0002791/0.3857, allocations: 127.8 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.3858, allocations: 19.98 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.3859, allocations: 0 / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.3859, allocations: 7.938 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.386, allocations: 8.688 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.3864, allocations: 121.4 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3867, allocations: 0.6768 MB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.3867, allocations: 4 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.3867, allocations: 7.438 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.3867, allocations: 0 / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of Templates: time 0.004199/0.3909, allocations: 1.22 MB / 1.074 GB, free: 3.43 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)