Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009735/0.0009735, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002339, allocations: 440 kB / 10.41 MB, free: 280 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.0008803/0.0008803, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001921, allocations: 475.6 kB / 11.79 MB, free: 2.371 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 1.018/1.018, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09228/1.111, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.427/2.427, allocations: 447.1 MB / 0.675 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2554/2.682, allocations: 146 MB / 0.8176 GB, free: 3.773 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.819 GB, free: 2.383 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.093e-05, allocations: 2.312 kB / 0.819 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00204/0.002061, allocations: 0.658 MB / 0.8196 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005522/0.002613, allocations: 318.7 kB / 0.8199 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.002633, allocations: 4 kB / 0.8199 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.588e-06/0.002637, allocations: 0 / 0.8199 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.002644, allocations: 0 / 0.8199 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.002972, allocations: 91.56 kB / 0.82 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.003031, allocations: 15.92 kB / 0.82 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.003076, allocations: 4 kB / 0.82 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.391e-05/0.00313, allocations: 11.98 kB / 0.8201 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.003196, allocations: 0 / 0.8201 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.003212, allocations: 0 / 0.8201 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/0.003711, allocations: 283.6 kB / 0.8203 GB, free: 1 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.00373, allocations: 4 kB / 0.8203 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.003748, allocations: 7.938 kB / 0.8203 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.003969, allocations: 87.83 kB / 0.8204 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.65e-05/0.003985, allocations: 0 / 0.8204 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003987, allocations: 0 / 0.8204 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.004002, allocations: 4 kB / 0.8204 GB, free: 0.8984 MB / 0.7917 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.0004376/0.00444, allocations: 260.4 kB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.004483, allocations: 8.031 kB / 0.8207 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.004606, allocations: 81.98 kB / 0.8208 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.004719, allocations: 105.8 kB / 0.8209 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.004731, allocations: 384 / 0.8209 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.004755, allocations: 4.375 kB / 0.8209 GB, free: 388 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.927e-05/0.004844, allocations: 59.95 kB / 0.8209 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.004851, allocations: 4.188 kB / 0.8209 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.004858, allocations: 384 / 0.8209 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004864, allocations: 4.375 kB / 0.8209 GB, free: 308 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.651e-05/0.004881, allocations: 7.922 kB / 0.8209 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.656e-05/0.004977, allocations: 61.03 kB / 0.821 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.005023, allocations: 22.55 kB / 0.821 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.005038, allocations: 8.922 kB / 0.821 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/0.005435, allocations: 87.86 kB / 0.8211 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.005462, allocations: 30.56 kB / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.005464, allocations: 0 / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0004089/0.005873, allocations: 173.2 kB / 0.8213 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.005894, allocations: 51.41 kB / 0.8214 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.005942, allocations: 110.9 kB / 0.8215 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.005952, allocations: 29.7 kB / 0.8215 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.995e-05/0.005972, allocations: 80.14 kB / 0.8216 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.00599, allocations: 7.891 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.006012, allocations: 13.72 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.006082, allocations: 322.8 kB / 0.8219 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.006091, allocations: 7.922 kB / 0.8219 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.544e-05/0.006106, allocations: 17.72 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.006132, allocations: 21.72 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006133, allocations: 128 / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.718e-05/0.006191, allocations: 49.62 kB / 0.822 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006203, allocations: 8 kB / 0.822 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006206, allocations: 0 / 0.822 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.006217, allocations: 0 / 0.822 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.892e-05/0.006256, allocations: 11.98 kB / 0.822 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.006258, allocations: 0 / 0.822 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/0.006268, allocations: 0 / 0.822 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.006273, allocations: 3.938 kB / 0.822 GB, free: 15.06 MB / 0.8073 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.35e-05/0.006317, allocations: 109.8 kB / 0.8221 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.006331, allocations: 8.062 kB / 0.8221 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.301e-05/0.006404, allocations: 53.28 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.006405, allocations: 4 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006407, allocations: 0 / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.00641, allocations: 0 / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.394e-05/0.006463, allocations: 69.83 kB / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006465, allocations: 0 / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.006494, allocations: 8 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.006502, allocations: 11.94 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006504, allocations: 4 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.006508, allocations: 0 / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006509, allocations: 0 / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00651, allocations: 3.938 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.825e-05/0.006588, allocations: 69 kB / 0.8223 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-06/0.006595, allocations: 4 kB / 0.8223 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.006609, allocations: 3.984 kB / 0.8223 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-06/0.006619, allocations: 0 / 0.8223 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.006623, allocations: 4.234 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.748e-06/0.006632, allocations: 8.859 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006633, allocations: 4.125 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001136/0.006746, allocations: 23.94 kB / 0.8224 GB, free: 14.62 MB / 0.8073 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.0001421/0.006888, allocations: 114.7 kB / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.402e-05/0.006942, allocations: 20.84 kB / 0.8225 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.006947, allocations: 4 kB / 0.8225 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-05/0.006962, allocations: 16.78 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.425e-05/0.007026, allocations: 10.34 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001616/0.007188, allocations: 108.5 kB / 0.8226 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.405e-05/0.007212, allocations: 55.53 kB / 0.8227 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.236e-05/0.007234, allocations: 8 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.00727, allocations: 51.38 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of SimCode: time 7.72e-07/0.007271, allocations: 7.938 kB / 0.8228 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of Templates: time 0.002299/0.00957, allocations: 0.8755 MB / 0.8236 GB, free: 13.3 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck/Buildings_latest_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: 5.339700455777347]