Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9607/0.9607, allocations: 177.1 MB / 204.2 MB, free: 5.391 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.689/1.689, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0.5469 kB / 0.7871 GB, free: 11.31 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.994e-05, allocations: 8.922 kB / 0.7872 GB, free: 11.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00103/0.00105, allocations: 0.607 MB / 0.7877 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004637/0.001514, allocations: 320.2 kB / 0.7881 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.001533, allocations: 0.75 kB / 0.7881 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.001553, allocations: 0 / 0.7881 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.955e-05/0.001572, allocations: 2.094 kB / 0.7881 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.001946, allocations: 119.5 kB / 0.7882 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.997e-05/0.001996, allocations: 7.984 kB / 0.7882 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.002027, allocations: 1.031 kB / 0.7882 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.002055, allocations: 7.984 kB / 0.7882 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.002104, allocations: 17.33 kB / 0.7882 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.002118, allocations: 0 / 0.7882 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.00237, allocations: 251.7 kB / 0.7884 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.002383, allocations: 0 / 0.7884 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.002399, allocations: 8.891 kB / 0.7884 GB, free: 10 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.002567, allocations: 123.7 kB / 0.7886 GB, free: 9.879 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002569, allocations: 0 / 0.7886 GB, free: 9.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.81e-07/0.00257, allocations: 0.75 kB / 0.7886 GB, free: 9.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002573, allocations: 0 / 0.7886 GB, free: 9.879 MB / 0.698 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.0002703/0.002844, allocations: 370.6 kB / 0.7889 GB, free: 9.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.002878, allocations: 8.031 kB / 0.7889 GB, free: 9.473 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.002954, allocations: 4.938 kB / 0.7889 GB, free: 9.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.108e-05/0.003025, allocations: 116.5 kB / 0.789 GB, free: 9.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.003038, allocations: 4.375 kB / 0.789 GB, free: 9.324 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.003056, allocations: 384 / 0.789 GB, free: 9.324 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.003156, allocations: 65.64 kB / 0.7891 GB, free: 9.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003163, allocations: 192 / 0.7891 GB, free: 9.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.003171, allocations: 384 / 0.7891 GB, free: 9.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.003178, allocations: 384 / 0.7891 GB, free: 9.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.483e-05/0.003193, allocations: 8.531 kB / 0.7891 GB, free: 9.242 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.003307, allocations: 116.6 kB / 0.7892 GB, free: 9.094 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.366e-05/0.003351, allocations: 27.66 kB / 0.7893 GB, free: 9.055 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.003366, allocations: 12.78 kB / 0.7893 GB, free: 9.039 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/0.003707, allocations: 87.17 kB / 0.7894 GB, free: 8.957 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.003728, allocations: 37.33 kB / 0.7894 GB, free: 8.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.003729, allocations: 0 / 0.7894 GB, free: 8.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003976/0.004126, allocations: 183.7 kB / 0.7896 GB, free: 8.695 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.004153, allocations: 63.33 kB / 0.7896 GB, free: 8.621 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.004214, allocations: 153.9 kB / 0.7898 GB, free: 8.453 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.004224, allocations: 28.3 kB / 0.7898 GB, free: 8.422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.004257, allocations: 130.9 kB / 0.7899 GB, free: 8.289 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.004277, allocations: 11.91 kB / 0.7899 GB, free: 8.277 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.004304, allocations: 19.38 kB / 0.79 GB, free: 8.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.0044, allocations: 0.4884 MB / 0.7904 GB, free: 7.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.004412, allocations: 4 kB / 0.7904 GB, free: 7.746 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.004439, allocations: 19.38 kB / 0.7905 GB, free: 7.719 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.004479, allocations: 36.55 kB / 0.7905 GB, free: 7.676 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.00448, allocations: 0.5312 kB / 0.7905 GB, free: 7.676 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.389e-05/0.004554, allocations: 47.36 kB / 0.7905 GB, free: 7.625 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.004566, allocations: 8 kB / 0.7905 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.004571, allocations: 0 / 0.7905 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.004582, allocations: 0 / 0.7905 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.004633, allocations: 12.42 kB / 0.7906 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.004641, allocations: 8.531 kB / 0.7906 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.004652, allocations: 4 kB / 0.7906 GB, free: 7.594 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.004658, allocations: 0.7812 kB / 0.7906 GB, free: 7.594 MB / 0.698 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 5.915e-05/0.004717, allocations: 161.7 kB / 0.7907 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.004731, allocations: 0 / 0.7907 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.873e-05/0.00482, allocations: 58.72 kB / 0.7908 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.004822, allocations: 0 / 0.7908 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.004824, allocations: 0 / 0.7908 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004828, allocations: 7.938 kB / 0.7908 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.867e-05/0.004886, allocations: 113.5 kB / 0.7909 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.004888, allocations: 4 kB / 0.7909 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.004921, allocations: 8.719 kB / 0.7909 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004922, allocations: 0 / 0.7909 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.004928, allocations: 5.203 kB / 0.7909 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.004929, allocations: 0 / 0.7909 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00493, allocations: 0 / 0.7909 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.627e-05/0.005026, allocations: 93.34 kB / 0.791 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.005031, allocations: 4 kB / 0.791 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-06/0.005039, allocations: 0 / 0.791 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.005054, allocations: 1.344 kB / 0.791 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.005068, allocations: 11.92 kB / 0.791 GB, free: 7.062 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.005072, allocations: 0 / 0.791 GB, free: 7.062 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.005099, allocations: 128.3 kB / 0.7911 GB, free: 6.938 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005099, allocations: 0 / 0.7911 GB, free: 6.938 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001343/0.005233, allocations: 23.94 kB / 0.7912 GB, free: 6.914 MB / 0.698 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.000137/0.00537, allocations: 129 kB / 0.7913 GB, free: 6.781 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.984e-05/0.00544, allocations: 27.67 kB / 0.7913 GB, free: 6.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005441, allocations: 0 / 0.7913 GB, free: 6.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.005452, allocations: 14.16 kB / 0.7913 GB, free: 6.734 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.682e-05/0.005549, allocations: 4 kB / 0.7913 GB, free: 6.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.005741, allocations: 110.3 kB / 0.7914 GB, free: 6.594 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.106e-05/0.005772, allocations: 59.34 kB / 0.7915 GB, free: 6.516 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.005792, allocations: 4.5 kB / 0.7915 GB, free: 6.512 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.005808, allocations: 9.031 kB / 0.7915 GB, free: 6.504 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.005809, allocations: 1.188 kB / 0.7915 GB, free: 6.504 MB / 0.698 GB Notification: Performance of Templates: time 0.002427/0.008236, allocations: 1.017 MB / 0.7925 GB, free: 5.508 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.689161449670792]