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.00103/0.00103, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.00135/0.00135, allocations: 165.9 kB / 24.86 MB, free: 9.23 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.8/1.8, allocations: 359 MB / 0.6063 GB, free: 10.86 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.543e-06/1.543e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.459e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001288/0.001313, allocations: 0.6173 MB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004591/0.001772, allocations: 308 kB / 0.7893 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.001793, allocations: 0.625 kB / 0.7893 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.001808, allocations: 3.938 kB / 0.7893 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 1.998e-05/0.001828, allocations: 1.406 kB / 0.7893 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.002175, allocations: 112.5 kB / 0.7894 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.019e-05/0.002215, allocations: 8.5 kB / 0.7894 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.002248, allocations: 3.984 kB / 0.7894 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.002278, allocations: 12.89 kB / 0.7894 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.002325, allocations: 4 kB / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.002337, allocations: 0.6562 kB / 0.7894 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.002601, allocations: 251.7 kB / 0.7897 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.002614, allocations: 1.25 kB / 0.7897 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.002629, allocations: 11.97 kB / 0.7897 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.002785, allocations: 115.6 kB / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.002788, allocations: 1.625 kB / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002789, allocations: 4 kB / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002793, allocations: 0 / 0.7898 GB, free: 10.73 MB / 0.7448 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.000273/0.003066, allocations: 376 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.003098, allocations: 8.031 kB / 0.7901 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.003157, allocations: 6.156 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.787e-05/0.003225, allocations: 109 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.003234, allocations: 1.062 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.00325, allocations: 12.33 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.019e-05/0.00332, allocations: 57.56 kB / 0.7903 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.003326, allocations: 192 / 0.7903 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-06/0.003331, allocations: 384 / 0.7903 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.003334, allocations: 384 / 0.7903 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.417e-05/0.003349, allocations: 16.83 kB / 0.7903 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.393e-05/0.003442, allocations: 89.27 kB / 0.7904 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.825e-05/0.003481, allocations: 34.38 kB / 0.7905 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.252e-05/0.003493, allocations: 15.75 kB / 0.7905 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/0.0038, allocations: 80.62 kB / 0.7906 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.003821, allocations: 37.38 kB / 0.7906 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.003822, allocations: 1.656 kB / 0.7906 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003221/0.004144, allocations: 177.8 kB / 0.7908 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.004168, allocations: 52.97 kB / 0.7908 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.004225, allocations: 157.9 kB / 0.791 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.004236, allocations: 29.7 kB / 0.791 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.004269, allocations: 128.2 kB / 0.7911 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.004296, allocations: 7.906 kB / 0.7911 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.004325, allocations: 27.34 kB / 0.7911 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.004442, allocations: 0.4883 MB / 0.7916 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.004453, allocations: 1.406 kB / 0.7916 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.004475, allocations: 23.38 kB / 0.7916 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.00451, allocations: 27.89 kB / 0.7917 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.004512, allocations: 1.625 kB / 0.7917 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.26e-05/0.004594, allocations: 49.64 kB / 0.7917 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.004606, allocations: 4 kB / 0.7917 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.00461, allocations: 3.938 kB / 0.7917 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.004619, allocations: 4.969 kB / 0.7917 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.004665, allocations: 7.984 kB / 0.7917 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.004668, allocations: 0.5312 kB / 0.7917 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.004683, allocations: 12.47 kB / 0.7918 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.004688, allocations: 0 / 0.7918 GB, free: 8.477 MB / 0.7448 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.761e-05/0.004756, allocations: 165.5 kB / 0.7919 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.004773, allocations: 0 / 0.7919 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.724e-05/0.004871, allocations: 58.48 kB / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.004872, allocations: 0 / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.004874, allocations: 1.375 kB / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004877, allocations: 0 / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.052e-05/0.004947, allocations: 101.2 kB / 0.7921 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.004949, allocations: 1.156 kB / 0.7921 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.004987, allocations: 4 kB / 0.7921 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.004989, allocations: 0 / 0.7921 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.004994, allocations: 4 kB / 0.7921 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.004997, allocations: 4.922 kB / 0.7921 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.004998, allocations: 0 / 0.7921 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.005106, allocations: 93.08 kB / 0.7922 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.005111, allocations: 0 / 0.7922 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.005119, allocations: 0.9375 kB / 0.7922 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.005138, allocations: 4 kB / 0.7922 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.005151, allocations: 3.984 kB / 0.7922 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.005155, allocations: 1.344 kB / 0.7922 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.00519, allocations: 127.2 kB / 0.7923 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00519, allocations: 0.9688 kB / 0.7923 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001583/0.005349, allocations: 19.94 kB / 0.7923 GB, free: 7.836 MB / 0.7448 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.0001622/0.005511, allocations: 135.4 kB / 0.7924 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.262e-05/0.005573, allocations: 23.61 kB / 0.7925 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.005575, allocations: 0 / 0.7925 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.005586, allocations: 11.92 kB / 0.7925 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.005698, allocations: 11.94 kB / 0.7925 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.005892, allocations: 117.9 kB / 0.7926 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.752e-05/0.00592, allocations: 63.28 kB / 0.7927 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.005946, allocations: 7.984 kB / 0.7927 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.005989, allocations: 70.2 kB / 0.7927 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.00599, allocations: 0 / 0.7927 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of Templates: time 0.002678/0.008668, allocations: 1.051 MB / 0.7938 GB, free: 6.316 MB / 0.7448 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: 5.100339768920094]