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.002262/0.002262, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002977/0.002977, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.88/2.88, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.353e-06/1.353e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.801e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001685/0.001713, allocations: 0.6077 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007204/0.002433, allocations: 312.2 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.002454, allocations: 0 / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.00247, allocations: 4.5 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.451e-05/0.002494, allocations: 0 / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.002961, allocations: 116.9 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.715e-05/0.003008, allocations: 13.12 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.859e-05/0.003037, allocations: 4 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.7e-05/0.003074, allocations: 8 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.003125, allocations: 4.609 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.003139, allocations: 1.406 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.003553, allocations: 251.7 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.003566, allocations: 3.984 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.003587, allocations: 11.94 kB / 0.7877 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.003827, allocations: 120.6 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003828, allocations: 0 / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003829, allocations: 0 / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003833, allocations: 0.9375 kB / 0.7878 GB, free: 11.32 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.0004236/0.004256, allocations: 364.2 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.004294, allocations: 13.12 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.004369, allocations: 0.9375 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.004491, allocations: 116.6 kB / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.004504, allocations: 1.625 kB / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.004521, allocations: 384 / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.004633, allocations: 59.95 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.004641, allocations: 1.781 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.004649, allocations: 4.375 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.004653, allocations: 384 / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.00468, allocations: 11.88 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.004851, allocations: 121.8 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.403e-05/0.004915, allocations: 27.09 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.004943, allocations: 19.75 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/0.005505, allocations: 78.89 kB / 0.7886 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.005543, allocations: 34.11 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005544, allocations: 0 / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005158/0.00606, allocations: 187.4 kB / 0.7888 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.006105, allocations: 55.34 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.006222, allocations: 167 kB / 0.7891 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.006242, allocations: 25.7 kB / 0.7891 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.006311, allocations: 128 kB / 0.7892 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.006336, allocations: 11.91 kB / 0.7892 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.00638, allocations: 23.38 kB / 0.7892 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002562/0.006637, allocations: 497.9 kB / 0.7897 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.006659, allocations: 8 kB / 0.7897 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.006694, allocations: 19.38 kB / 0.7897 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.931e-05/0.006753, allocations: 32.56 kB / 0.7898 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.006756, allocations: 3.984 kB / 0.7898 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.006867, allocations: 50.2 kB / 0.7898 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.006881, allocations: 8 kB / 0.7898 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.006885, allocations: 1.562 kB / 0.7898 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.006897, allocations: 0 / 0.7898 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.006961, allocations: 15.98 kB / 0.7898 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.006969, allocations: 3.938 kB / 0.7898 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.006987, allocations: 1.688 kB / 0.7898 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.006993, allocations: 3.938 kB / 0.7898 GB, free: 9.027 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 0.0001156/0.007108, allocations: 156.6 kB / 0.79 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.007138, allocations: 4 kB / 0.79 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.00734, allocations: 58.23 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.007344, allocations: 4.703 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.007347, allocations: 0.6875 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.007353, allocations: 7.922 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.007463, allocations: 109.2 kB / 0.7902 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.007468, allocations: 5.312 kB / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.007521, allocations: 4 kB / 0.7902 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007522, allocations: 0 / 0.7902 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.007531, allocations: 4 kB / 0.7902 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.007535, allocations: 4.516 kB / 0.7902 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.007538, allocations: 5.312 kB / 0.7902 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.00771, allocations: 92.38 kB / 0.7903 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.007715, allocations: 0 / 0.7903 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.007725, allocations: 0 / 0.7903 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.007757, allocations: 4.75 kB / 0.7903 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.007781, allocations: 11.98 kB / 0.7903 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.007786, allocations: 0.9375 kB / 0.7903 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.07e-05/0.007857, allocations: 127.1 kB / 0.7904 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007857, allocations: 1.344 kB / 0.7904 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002076/0.008064, allocations: 19.94 kB / 0.7904 GB, free: 8.348 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.0002153/0.00828, allocations: 132 kB / 0.7906 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.008396, allocations: 29.67 kB / 0.7906 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.008398, allocations: 0 / 0.7906 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.008427, allocations: 15.69 kB / 0.7906 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.008559, allocations: 4 kB / 0.7906 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.008827, allocations: 122.2 kB / 0.7907 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.884e-05/0.008886, allocations: 60 kB / 0.7908 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.008917, allocations: 11.42 kB / 0.7908 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.008936, allocations: 8.5 kB / 0.7908 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of SimCode: time 4.3e-07/0.008937, allocations: 0 / 0.7908 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of Templates: time 0.003908/0.01285, allocations: 0.9098 MB / 0.7917 GB, free: 7.035 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.858049603994004]