Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0009568/0.0009568, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001041/0.001041, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9953/0.9953, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.814/1.814, 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 3.938 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.686e-05, allocations: 2.969 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001853/0.00188, allocations: 0.6308 MB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007651/0.002645, allocations: 323.4 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.00268, allocations: 0.5625 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.002703, allocations: 1.25 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.546e-05/0.002739, allocations: 3.938 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.003272, allocations: 125.1 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.054e-05/0.003343, allocations: 23.97 kB / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.003388, allocations: 0 / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.003452, allocations: 21.14 kB / 0.7882 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.003524, allocations: 7.984 kB / 0.7883 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.003545, allocations: 0 / 0.7883 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.003958, allocations: 256.3 kB / 0.7885 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.003978, allocations: 8 kB / 0.7885 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.004001, allocations: 13.33 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.004244, allocations: 131.6 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004247, allocations: 0 / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004247, allocations: 0 / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.004252, allocations: 0.6875 kB / 0.7886 GB, free: 10.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004393/0.004691, allocations: 389.3 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.004734, allocations: 8.031 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.004835, allocations: 9.547 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.005201, allocations: 116.6 kB / 0.7891 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.005215, allocations: 1.344 kB / 0.7891 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.005246, allocations: 4.375 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.005384, allocations: 105.6 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.005396, allocations: 3.469 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.005409, allocations: 4.375 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.005418, allocations: 384 / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.005466, allocations: 19.86 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.00563, allocations: 124.6 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.005759, allocations: 62.97 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.0058, allocations: 23.69 kB / 0.7895 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004605/0.006261, allocations: 87.84 kB / 0.7896 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.00629, allocations: 33.39 kB / 0.7896 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.006291, allocations: 0 / 0.7896 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.001189/0.00748, allocations: 458.1 kB / 0.79 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.007509, allocations: 56.94 kB / 0.7901 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.007593, allocations: 161.9 kB / 0.7902 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.007607, allocations: 25.7 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.007653, allocations: 134.9 kB / 0.7904 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.007696, allocations: 39.64 kB / 0.7904 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.007744, allocations: 36.98 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.007881, allocations: 492.1 kB / 0.7909 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.007923, allocations: 19.98 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.007961, allocations: 15.98 kB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.008048, allocations: 44.66 kB / 0.791 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008049, allocations: 0 / 0.791 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001712/0.00822, allocations: 99.7 kB / 0.7911 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.008239, allocations: 6.094 kB / 0.7911 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.008247, allocations: 4.516 kB / 0.7911 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.008268, allocations: 5.031 kB / 0.7911 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.008382, allocations: 24 kB / 0.7911 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.008389, allocations: 0 / 0.7911 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.008411, allocations: 4.594 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.00842, allocations: 4 kB / 0.7912 GB, free: 8.082 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.531e-05/0.008506, allocations: 169 kB / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.008539, allocations: 9.328 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.008715, allocations: 97.72 kB / 0.7914 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.008719, allocations: 3.938 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.008723, allocations: 1.156 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.008727, allocations: 7.984 kB / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.009097, allocations: 341.6 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.009099, allocations: 0.9375 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.009205, allocations: 23.98 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.009209, allocations: 3.938 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.009218, allocations: 0.8125 kB / 0.7918 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.00922, allocations: 3.938 kB / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.009221, allocations: 0.9375 kB / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.009484, allocations: 255.8 kB / 0.792 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.009515, allocations: 9.328 kB / 0.792 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.009532, allocations: 7.938 kB / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.009603, allocations: 3.984 kB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.009627, allocations: 8 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.009638, allocations: 8.953 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.009681, allocations: 119.2 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009681, allocations: 2.312 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003276/0.01001, allocations: 47.88 kB / 0.7922 GB, free: 6.914 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002217/0.01023, allocations: 147.1 kB / 0.7924 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01037, allocations: 55.61 kB / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01038, allocations: 0 / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.029e-05/0.01043, allocations: 43.05 kB / 0.7925 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.01068, allocations: 17.98 kB / 0.7925 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.01104, allocations: 173.9 kB / 0.7927 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.01109, allocations: 59.34 kB / 0.7927 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.909e-05/0.01114, allocations: 12.03 kB / 0.7927 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.01116, allocations: 13.19 kB / 0.7927 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01117, allocations: 0.5 kB / 0.7927 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of Templates: time 0.004183/0.01535, allocations: 1.436 MB / 0.7941 GB, free: 4.957 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.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.081688618753105]