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.0007323/0.0007323, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001745, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007125/0.0007125, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000974/0.001687, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9712/0.9712, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09327/1.065, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.846/1.846, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5401/2.386, allocations: 123.3 MB / 0.728 GB, free: 5.832 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.362e-06/1.362e-06, allocations: 0 / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.398e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001055/0.001069, allocations: 0.6588 MB / 0.73 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003915/0.00146, allocations: 336 kB / 0.7304 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.001481, allocations: 0 / 0.7304 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-06/0.001485, allocations: 0 / 0.7304 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.001491, allocations: 0 / 0.7304 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.0018, allocations: 94.67 kB / 0.7304 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.001868, allocations: 6.391 kB / 0.7305 GB, free: 3.422 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.001922, allocations: 5.406 kB / 0.7305 GB, free: 3.418 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.001975, allocations: 11.98 kB / 0.7305 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.002038, allocations: 6.766 kB / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.002053, allocations: 0 / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.002371, allocations: 279.6 kB / 0.7307 GB, free: 3.129 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.002382, allocations: 0.875 kB / 0.7307 GB, free: 3.129 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.002397, allocations: 4.812 kB / 0.7307 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.00257, allocations: 97.44 kB / 0.7308 GB, free: 3.031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.002585, allocations: 0.6562 kB / 0.7308 GB, free: 3.031 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002585, allocations: 0.5625 kB / 0.7308 GB, free: 3.031 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.002599, allocations: 0 / 0.7308 GB, free: 3.031 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.0003059/0.002905, allocations: 250.2 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.002938, allocations: 12.02 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.003017, allocations: 83.02 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.575e-05/0.003093, allocations: 105.8 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.003102, allocations: 0.9062 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.003118, allocations: 4.375 kB / 0.7313 GB, free: 2.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.105e-05/0.003199, allocations: 64.83 kB / 0.7313 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.003205, allocations: 192 / 0.7313 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.003211, allocations: 1.797 kB / 0.7313 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.003215, allocations: 384 / 0.7313 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.261e-05/0.003227, allocations: 9.375 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.111e-05/0.003309, allocations: 57.05 kB / 0.7314 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/0.003345, allocations: 18.61 kB / 0.7314 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.003357, allocations: 10.67 kB / 0.7314 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.003658, allocations: 78.66 kB / 0.7315 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.003679, allocations: 35.75 kB / 0.7315 GB, free: 2.211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.00368, allocations: 3.938 kB / 0.7315 GB, free: 2.207 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003958/0.004076, allocations: 174.6 kB / 0.7317 GB, free: 2.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.004103, allocations: 55.41 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.004151, allocations: 99.59 kB / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.00416, allocations: 25.7 kB / 0.7319 GB, free: 1.797 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.004181, allocations: 89.78 kB / 0.732 GB, free: 1.707 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.004201, allocations: 9.547 kB / 0.732 GB, free: 1.699 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.004223, allocations: 17.7 kB / 0.732 GB, free: 1.676 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.004339, allocations: 322.8 kB / 0.7323 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.004352, allocations: 4 kB / 0.7323 GB, free: 1.348 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.004373, allocations: 21.73 kB / 0.7323 GB, free: 1.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.004403, allocations: 22.88 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.004404, allocations: 1.25 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.341e-05/0.004468, allocations: 41.69 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.00448, allocations: 5 kB / 0.7324 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.004485, allocations: 0.6562 kB / 0.7324 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.004493, allocations: 4 kB / 0.7324 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.004537, allocations: 8.562 kB / 0.7324 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.00454, allocations: 0 / 0.7324 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.004552, allocations: 8.609 kB / 0.7324 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.004558, allocations: 4.969 kB / 0.7324 GB, free: 1.219 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.643e-05/0.004604, allocations: 110.6 kB / 0.7325 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.004616, allocations: 4.688 kB / 0.7325 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.769e-05/0.004694, allocations: 51.09 kB / 0.7326 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.004695, allocations: 0 / 0.7326 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.004697, allocations: 0 / 0.7326 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.004699, allocations: 0 / 0.7326 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.286e-05/0.004752, allocations: 73.83 kB / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004752, allocations: 5.984 kB / 0.7327 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.004781, allocations: 7.938 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-06/0.004786, allocations: 3.953 kB / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-07/0.004787, allocations: 0.75 kB / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-06/0.00479, allocations: 0 / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.00479, allocations: 4.844 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.004793, allocations: 3.984 kB / 0.7327 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.563e-05/0.004878, allocations: 70.25 kB / 0.7327 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.106e-06/0.004887, allocations: 0 / 0.7327 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.567e-05/0.004902, allocations: 9.938 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.004914, allocations: 3.984 kB / 0.7328 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.004917, allocations: 0 / 0.7328 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.214e-06/0.004924, allocations: 5.734 kB / 0.7328 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.004924, allocations: 4.875 kB / 0.7328 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001101/0.005034, allocations: 19.94 kB / 0.7328 GB, free: 0.7969 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.0001297/0.005164, allocations: 113.4 kB / 0.7329 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.479e-05/0.005229, allocations: 26.89 kB / 0.7329 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.005232, allocations: 0 / 0.7329 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-06/0.005242, allocations: 9.844 kB / 0.7329 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.536e-05/0.005307, allocations: 11.92 kB / 0.7329 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.005484, allocations: 104.8 kB / 0.733 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.675e-05/0.005511, allocations: 58.11 kB / 0.7331 GB, free: 432 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.005532, allocations: 0 / 0.7331 GB, free: 432 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.005572, allocations: 59.36 kB / 0.7332 GB, free: 372 kB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/0.005573, allocations: 0 / 0.7332 GB, free: 372 kB / 0.698 GB Notification: Performance of Templates: time 0.002424/0.007997, allocations: 1.039 MB / 0.7342 GB, free: 15.38 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8165473733097315]