Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007732/0.0007732, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.00187, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007107/0.0007107, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009808/0.001692, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9328/0.9328, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09071/1.024, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.877/1.877, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4856/2.362, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.459e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.344 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001014/0.001028, allocations: 0.6529 MB / 0.7304 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.001405, allocations: 334.9 kB / 0.7307 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.462e-05/0.00142, allocations: 0 / 0.7307 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.478e-06/0.001424, allocations: 3.938 kB / 0.7307 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-06/0.001429, allocations: 1.156 kB / 0.7307 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.001658, allocations: 89.69 kB / 0.7308 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.001704, allocations: 6.375 kB / 0.7308 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.001741, allocations: 9.406 kB / 0.7308 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.001786, allocations: 8.984 kB / 0.7308 GB, free: 3.289 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.001842, allocations: 4.516 kB / 0.7308 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.001857, allocations: 6.359 kB / 0.7308 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.002149, allocations: 275.6 kB / 0.7311 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.00216, allocations: 0 / 0.7311 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.198e-05/0.002172, allocations: 5.75 kB / 0.7311 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.002323, allocations: 96.75 kB / 0.7312 GB, free: 2.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.002333, allocations: 1.438 kB / 0.7312 GB, free: 2.914 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002334, allocations: 0.875 kB / 0.7312 GB, free: 2.914 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.002344, allocations: 0 / 0.7312 GB, free: 2.914 MB / 0.698 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.0002812/0.002626, allocations: 252.4 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.002656, allocations: 8.688 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.002734, allocations: 82.05 kB / 0.7315 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.849e-05/0.002802, allocations: 111.4 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.00281, allocations: 2.094 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.00283, allocations: 8.375 kB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.399e-05/0.002904, allocations: 55.97 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.002909, allocations: 192 / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.002915, allocations: 1.188 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.002918, allocations: 384 / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.35e-05/0.002932, allocations: 12.38 kB / 0.7317 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.552e-05/0.003007, allocations: 57.03 kB / 0.7317 GB, free: 2.246 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.003043, allocations: 27.91 kB / 0.7318 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.114e-05/0.003054, allocations: 9.984 kB / 0.7318 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.003333, allocations: 70.19 kB / 0.7318 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.003353, allocations: 36.31 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.003354, allocations: 0.6562 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003592/0.003713, allocations: 181.8 kB / 0.732 GB, free: 1.879 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.003735, allocations: 56.34 kB / 0.7321 GB, free: 1.812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.003781, allocations: 102.7 kB / 0.7322 GB, free: 1.699 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.003789, allocations: 26.23 kB / 0.7322 GB, free: 1.668 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.003809, allocations: 81.27 kB / 0.7323 GB, free: 1.586 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.003835, allocations: 16.75 kB / 0.7323 GB, free: 1.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.003856, allocations: 13.72 kB / 0.7323 GB, free: 1.551 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.003924, allocations: 323.5 kB / 0.7326 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-06/0.00393, allocations: 0 / 0.7326 GB, free: 1.227 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.003945, allocations: 18.25 kB / 0.7327 GB, free: 1.203 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.003972, allocations: 26.72 kB / 0.7327 GB, free: 1.172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.003973, allocations: 0 / 0.7327 GB, free: 1.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.072e-05/0.004023, allocations: 43.98 kB / 0.7327 GB, free: 1.125 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.004035, allocations: 8.766 kB / 0.7327 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.00404, allocations: 3.984 kB / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.004049, allocations: 0 / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.701e-05/0.004086, allocations: 8 kB / 0.7327 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.004089, allocations: 1.219 kB / 0.7327 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-06/0.004098, allocations: 3.938 kB / 0.7327 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.004105, allocations: 7.938 kB / 0.7328 GB, free: 1.094 MB / 0.698 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 4.284e-05/0.004148, allocations: 112.4 kB / 0.7329 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.004161, allocations: 4 kB / 0.7329 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/0.004235, allocations: 50.11 kB / 0.7329 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.004236, allocations: 0 / 0.7329 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.004238, allocations: 0.5312 kB / 0.7329 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.004241, allocations: 0 / 0.7329 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.757e-05/0.004288, allocations: 66.59 kB / 0.733 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004289, allocations: 0 / 0.733 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.004317, allocations: 9.984 kB / 0.733 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.004322, allocations: 7.953 kB / 0.733 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.004323, allocations: 0 / 0.733 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.004327, allocations: 1.062 kB / 0.733 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.004328, allocations: 3.938 kB / 0.733 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.004329, allocations: 0 / 0.733 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.654e-05/0.004405, allocations: 69.72 kB / 0.7331 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.004416, allocations: 9.047 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.004429, allocations: 0.7656 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-06/0.004438, allocations: 0 / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.004441, allocations: 4.844 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.133e-06/0.004449, allocations: 4.859 kB / 0.7331 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004449, allocations: 1.25 kB / 0.7331 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001141/0.004563, allocations: 27.92 kB / 0.7331 GB, free: 0.6758 MB / 0.698 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.0001277/0.00469, allocations: 118.1 kB / 0.7332 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.945e-05/0.00475, allocations: 21.89 kB / 0.7332 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.004755, allocations: 2.75 kB / 0.7332 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.004769, allocations: 14.48 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.913e-05/0.004828, allocations: 7.938 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001538/0.004982, allocations: 104.8 kB / 0.7334 GB, free: 384 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.51e-05/0.005007, allocations: 59.34 kB / 0.7334 GB, free: 304 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.005029, allocations: 6.406 kB / 0.7334 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.005064, allocations: 55.38 kB / 0.7335 GB, free: 244 kB / 0.698 GB Notification: Performance of SimCode: time 6.52e-07/0.005065, allocations: 0 / 0.7335 GB, free: 244 kB / 0.698 GB Notification: Performance of Templates: time 0.002203/0.007267, allocations: 0.8856 MB / 0.7343 GB, free: 15.39 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8085539089515805]