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.0009852/0.0009852, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001373/0.001373, allocations: 161 kB / 23.82 MB, free: 0.75 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.9949/0.9949, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.856/1.856, allocations: 359 MB / 0.6052 GB, free: 11.02 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.884e-06/1.884e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.931e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001498/0.001527, allocations: 0.6073 MB / 0.7877 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005471/0.002074, allocations: 324.8 kB / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.0021, allocations: 0 / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.002121, allocations: 0 / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.102e-05/0.002142, allocations: 0 / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.002583, allocations: 110.2 kB / 0.7882 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.386e-05/0.002637, allocations: 15.86 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.002676, allocations: 0 / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.958e-05/0.002706, allocations: 8 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.002758, allocations: 5.547 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.002774, allocations: 4 kB / 0.7882 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.00306, allocations: 255.6 kB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.003074, allocations: 0 / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.003093, allocations: 5.25 kB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.003278, allocations: 123.6 kB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.003281, allocations: 0 / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.003282, allocations: 2.094 kB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.003287, allocations: 4 kB / 0.7886 GB, free: 10.99 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.0003505/0.003638, allocations: 368.1 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.00368, allocations: 8.031 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/0.003773, allocations: 4.938 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.003874, allocations: 111.1 kB / 0.789 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.003892, allocations: 4.359 kB / 0.789 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.003926, allocations: 8.328 kB / 0.789 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.00404, allocations: 63.89 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004048, allocations: 192 / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.004058, allocations: 384 / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.004066, allocations: 1.031 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.004083, allocations: 9.062 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.004222, allocations: 112.6 kB / 0.7892 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.004271, allocations: 31.09 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.004289, allocations: 12.84 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/0.004672, allocations: 87.05 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.004703, allocations: 33.39 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.004703, allocations: 0 / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005601/0.005264, allocations: 178.8 kB / 0.7896 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.005295, allocations: 51.97 kB / 0.7896 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.005387, allocations: 163.8 kB / 0.7898 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.005399, allocations: 25.7 kB / 0.7898 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.005439, allocations: 126.9 kB / 0.7899 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.005471, allocations: 15.91 kB / 0.7899 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.005503, allocations: 25.81 kB / 0.7899 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.005637, allocations: 0.4884 MB / 0.7904 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.005656, allocations: 4 kB / 0.7904 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.005682, allocations: 19.38 kB / 0.7904 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.005731, allocations: 31.31 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005734, allocations: 0.7188 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/0.005859, allocations: 50.22 kB / 0.7905 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.005877, allocations: 4 kB / 0.7905 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.005883, allocations: 5.594 kB / 0.7905 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.005904, allocations: 4 kB / 0.7905 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.005989, allocations: 4 kB / 0.7905 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.006, allocations: 7.922 kB / 0.7905 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.006015, allocations: 4.844 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.006022, allocations: 0 / 0.7906 GB, free: 8.719 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 8.764e-05/0.00611, allocations: 165.4 kB / 0.7907 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.006143, allocations: 3.953 kB / 0.7907 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.006291, allocations: 54.59 kB / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006294, allocations: 0 / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.006298, allocations: 0.8438 kB / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.006305, allocations: 11.86 kB / 0.7908 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.486e-05/0.0064, allocations: 113.5 kB / 0.7909 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.006402, allocations: 0 / 0.7909 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.006458, allocations: 5.531 kB / 0.7909 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.006462, allocations: 4 kB / 0.7909 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.006469, allocations: 0 / 0.7909 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.006472, allocations: 4 kB / 0.7909 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.006474, allocations: 1.219 kB / 0.7909 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.006631, allocations: 92.53 kB / 0.791 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.00664, allocations: 0 / 0.791 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.006654, allocations: 4 kB / 0.791 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.006678, allocations: 3.125 kB / 0.791 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.006699, allocations: 0 / 0.791 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.006708, allocations: 11.98 kB / 0.791 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.006757, allocations: 127.1 kB / 0.7911 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006757, allocations: 0 / 0.7911 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001544/0.006911, allocations: 23.94 kB / 0.7911 GB, free: 8.035 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.0001974/0.007108, allocations: 131.6 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.007204, allocations: 28.67 kB / 0.7913 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.007206, allocations: 0 / 0.7913 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.445e-05/0.007221, allocations: 16.16 kB / 0.7913 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.007343, allocations: 1.688 kB / 0.7913 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.00762, allocations: 118.3 kB / 0.7914 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.577e-05/0.007655, allocations: 59.34 kB / 0.7915 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.00769, allocations: 5.828 kB / 0.7915 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.007712, allocations: 12.5 kB / 0.7915 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.007712, allocations: 0 / 0.7915 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of Templates: time 0.002724/0.01044, allocations: 0.9137 MB / 0.7924 GB, free: 6.715 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.131455381400883]