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.001533/0.001533, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001183/0.001183, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9951/0.9951, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.77/1.77, allocations: 359 MB / 0.6055 GB, free: 10.89 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.225e-06/2.225e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.661e-05, allocations: 8.703 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001365/0.001392, allocations: 0.6239 MB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004897/0.001882, allocations: 317.3 kB / 0.7885 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.001911, allocations: 0 / 0.7885 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.001932, allocations: 3.938 kB / 0.7885 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.11e-05/0.001963, allocations: 3.938 kB / 0.7885 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.002357, allocations: 121 kB / 0.7887 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.291e-05/0.00241, allocations: 19.98 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.959e-05/0.00244, allocations: 1.219 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.002503, allocations: 23.91 kB / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.00255, allocations: 7.984 kB / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.002564, allocations: 0 / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.002821, allocations: 269 kB / 0.789 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.002838, allocations: 3.984 kB / 0.789 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.002854, allocations: 11.94 kB / 0.789 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.003025, allocations: 124.8 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003028, allocations: 0 / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003029, allocations: 0 / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003033, allocations: 1.531 kB / 0.7891 GB, free: 10.62 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.0003306/0.003363, allocations: 388.4 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.003399, allocations: 8.031 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.003459, allocations: 8.891 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.69e-05/0.003536, allocations: 121.2 kB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.003546, allocations: 384 / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.003563, allocations: 10.02 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.983e-05/0.003653, allocations: 97.66 kB / 0.7897 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.003663, allocations: 12.08 kB / 0.7897 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.003669, allocations: 384 / 0.7897 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.003675, allocations: 1 kB / 0.7897 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.003699, allocations: 15.92 kB / 0.7897 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.003817, allocations: 114.1 kB / 0.7898 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.088e-05/0.003898, allocations: 60.56 kB / 0.7899 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.003917, allocations: 23.91 kB / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.004194, allocations: 96.09 kB / 0.79 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.004221, allocations: 33.39 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.004222, allocations: 0 / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0007216/0.004943, allocations: 436.5 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.004969, allocations: 55.88 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.005029, allocations: 154.7 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.005041, allocations: 29.7 kB / 0.7907 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.005073, allocations: 127.4 kB / 0.7908 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.00511, allocations: 49.2 kB / 0.7909 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.005148, allocations: 35.34 kB / 0.7909 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.005259, allocations: 492.1 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.005277, allocations: 11.98 kB / 0.7914 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.005293, allocations: 12 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/0.005343, allocations: 44.19 kB / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.005344, allocations: 1.312 kB / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001087/0.005453, allocations: 90.83 kB / 0.7915 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.005465, allocations: 4 kB / 0.7915 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.00547, allocations: 1.156 kB / 0.7915 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.005482, allocations: 4 kB / 0.7915 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.005544, allocations: 19.98 kB / 0.7915 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.005548, allocations: 5.312 kB / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.005563, allocations: 8 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.005568, allocations: 0 / 0.7916 GB, free: 7.852 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 7.003e-05/0.005638, allocations: 162.3 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.005666, allocations: 15.88 kB / 0.7917 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.005782, allocations: 89.92 kB / 0.7918 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.005786, allocations: 7.984 kB / 0.7918 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.005788, allocations: 3.938 kB / 0.7918 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.005791, allocations: 0.75 kB / 0.7918 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.006024, allocations: 318 kB / 0.7921 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.006026, allocations: 1.688 kB / 0.7921 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.00609, allocations: 20 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.006092, allocations: 0 / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.006098, allocations: 7.984 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.006102, allocations: 8.812 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006103, allocations: 0 / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.006269, allocations: 247.3 kB / 0.7924 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.006291, allocations: 15.94 kB / 0.7924 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.0063, allocations: 0 / 0.7924 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.006343, allocations: 11.94 kB / 0.7924 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.006355, allocations: 3.984 kB / 0.7924 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.006363, allocations: 4 kB / 0.7924 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.006395, allocations: 127.1 kB / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006395, allocations: 0 / 0.7926 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000191/0.006586, allocations: 43.94 kB / 0.7926 GB, free: 6.727 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.0001911/0.006777, allocations: 147.6 kB / 0.7927 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.988e-05/0.006867, allocations: 53.53 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.006869, allocations: 0 / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.006894, allocations: 32.09 kB / 0.7928 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.007046, allocations: 12.16 kB / 0.7928 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.0073, allocations: 176 kB / 0.793 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.413e-05/0.007334, allocations: 63.34 kB / 0.7931 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.007373, allocations: 8.906 kB / 0.7931 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.007425, allocations: 82.19 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.007426, allocations: 0 / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.003238/0.01066, allocations: 1.63 MB / 0.7947 GB, free: 4.504 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.0538200959563255]