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.0009034/0.0009035, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00719/0.00719, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.584/1.584, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.594/1.594, allocations: 252 MB / 0.5105 GB, free: 4.691 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.0005358/0.0005359, allocations: 12 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6301/0.6306, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.0008793/0.6315, allocations: 283.8 kB / 0.729 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008148/0.6324, allocations: 346.8 kB / 0.7293 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.6325, allocations: 0 / 0.7293 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.6325, allocations: 0 / 0.7293 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.819e-05/0.6325, allocations: 3.938 kB / 0.7293 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.633, allocations: 59.84 kB / 0.7294 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.6331, allocations: 23.92 kB / 0.7294 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.6331, allocations: 0 / 0.7294 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.479e-05/0.6331, allocations: 4 kB / 0.7294 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.6332, allocations: 3.984 kB / 0.7294 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.6332, allocations: 0 / 0.7294 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.6336, allocations: 191.8 kB / 0.7296 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.6336, allocations: 3.938 kB / 0.7296 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.6336, allocations: 29.7 kB / 0.7296 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.6338, allocations: 83.8 kB / 0.7297 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6338, allocations: 0 / 0.7297 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6339, allocations: 4 kB / 0.7297 GB, free: 10.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.6339, allocations: 0 / 0.7297 GB, free: 10.26 MB / 0.545 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.0003899/0.6343, allocations: 333.5 kB / 0.73 GB, free: 9.883 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.6343, allocations: 8.031 kB / 0.73 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.6344, allocations: 0.9375 kB / 0.73 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.6345, allocations: 172.4 kB / 0.7302 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.6345, allocations: 384 / 0.7302 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.6346, allocations: 384 / 0.7302 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.6347, allocations: 34.2 kB / 0.7302 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6347, allocations: 4.188 kB / 0.7302 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.6347, allocations: 3.938 kB / 0.7303 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6347, allocations: 7.984 kB / 0.7303 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.6348, allocations: 0 / 0.7303 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.635, allocations: 157.7 kB / 0.7304 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.635, allocations: 26.55 kB / 0.7304 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.6351, allocations: 12.86 kB / 0.7304 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007452/0.6358, allocations: 0.5817 MB / 0.731 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.6359, allocations: 34.56 kB / 0.731 GB, free: 8.605 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.6359, allocations: 0 / 0.731 GB, free: 8.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005874/0.6365, allocations: 258.2 kB / 0.7313 GB, free: 8.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.6365, allocations: 55.41 kB / 0.7313 GB, free: 8.234 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.6366, allocations: 101.8 kB / 0.7314 GB, free: 8.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.6366, allocations: 29.64 kB / 0.7315 GB, free: 8.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.6367, allocations: 80.14 kB / 0.7315 GB, free: 8.008 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.6367, allocations: 15.75 kB / 0.7316 GB, free: 7.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.6368, allocations: 13.94 kB / 0.7316 GB, free: 7.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6369, allocations: 314.8 kB / 0.7319 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.6369, allocations: 11.98 kB / 0.7319 GB, free: 7.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.6369, allocations: 13.72 kB / 0.7319 GB, free: 7.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.536e-05/0.637, allocations: 25.66 kB / 0.7319 GB, free: 7.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.637, allocations: 4 kB / 0.7319 GB, free: 7.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.92e-05/0.6371, allocations: 53.69 kB / 0.732 GB, free: 7.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6371, allocations: 7.938 kB / 0.732 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.6372, allocations: 0 / 0.732 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6372, allocations: 3.938 kB / 0.732 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.6372, allocations: 8 kB / 0.732 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6372, allocations: 0 / 0.732 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.6373, allocations: 4 kB / 0.732 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.6373, allocations: 7.984 kB / 0.732 GB, free: 7.5 MB / 0.545 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 8.052e-05/0.6374, allocations: 105.8 kB / 0.7321 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.6374, allocations: 12 kB / 0.7321 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.6375, allocations: 57.17 kB / 0.7322 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.6375, allocations: 0 / 0.7322 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6376, allocations: 3.938 kB / 0.7322 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.6376, allocations: 0 / 0.7322 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.6377, allocations: 153.7 kB / 0.7323 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6377, allocations: 0 / 0.7323 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.6378, allocations: 11.98 kB / 0.7323 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-06/0.6378, allocations: 3.938 kB / 0.7323 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.6378, allocations: 4 kB / 0.7323 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6378, allocations: 4 kB / 0.7324 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6378, allocations: 0 / 0.7324 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.638, allocations: 73.06 kB / 0.7324 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.6381, allocations: 81.11 kB / 0.7325 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.6381, allocations: 7.938 kB / 0.7325 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.6381, allocations: 3.984 kB / 0.7325 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.6382, allocations: 7.938 kB / 0.7325 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.6382, allocations: 4.062 kB / 0.7325 GB, free: 6.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.72e-05/0.6383, allocations: 91.58 kB / 0.7326 GB, free: 6.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6383, allocations: 0 / 0.7326 GB, free: 6.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002515/0.6385, allocations: 27.98 kB / 0.7326 GB, free: 6.754 MB / 0.545 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.0002924/0.6388, allocations: 127.2 kB / 0.7328 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.6389, allocations: 15.98 kB / 0.7328 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.639, allocations: 0 / 0.7328 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.639, allocations: 8.266 kB / 0.7328 GB, free: 6.594 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.6392, allocations: 12.97 kB / 0.7328 GB, free: 6.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.6396, allocations: 120 kB / 0.7329 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.64, allocations: 0.677 MB / 0.7336 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.6401, allocations: 4 kB / 0.7336 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.6401, allocations: 11.44 kB / 0.7336 GB, free: 5.727 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.6401, allocations: 0 / 0.7336 GB, free: 5.727 MB / 0.545 GB Notification: Performance of Templates: time 0.005246/0.6454, allocations: 1.185 MB / 0.7347 GB, free: 4.57 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: