Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001086/0.001086, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001507/0.002593, 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.001061/0.001061, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002413, 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.9718/0.9718, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09666/1.068, allocations: 53.64 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.9/1.9, allocations: 378.2 MB / 0.6076 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4821/2.383, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.82e-05, allocations: 2.938 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001069/0.001087, allocations: 0.6744 MB / 0.73 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000434/0.001521, allocations: 351.4 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.001539, allocations: 0 / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-06/0.001543, allocations: 0 / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.638e-06/0.001553, allocations: 5.094 kB / 0.7304 GB, free: 3.473 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.001793, allocations: 102 kB / 0.7305 GB, free: 3.375 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.00185, allocations: 22.39 kB / 0.7305 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.001886, allocations: 6.703 kB / 0.7305 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.00195, allocations: 20.84 kB / 0.7305 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.002008, allocations: 13.62 kB / 0.7305 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.002022, allocations: 0 / 0.7305 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.00232, allocations: 280.6 kB / 0.7308 GB, free: 3.047 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.002333, allocations: 5.531 kB / 0.7308 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.00235, allocations: 5.641 kB / 0.7308 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.002503, allocations: 94.14 kB / 0.7309 GB, free: 2.949 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/0.002517, allocations: 5.062 kB / 0.7309 GB, free: 2.945 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002517, allocations: 0.7656 kB / 0.7309 GB, free: 2.945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.002529, allocations: 0 / 0.7309 GB, free: 2.945 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000349/0.002878, allocations: 277.1 kB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.002907, allocations: 12.02 kB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.414e-05/0.002991, allocations: 87.34 kB / 0.7313 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.02e-05/0.003062, allocations: 106.7 kB / 0.7314 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.003073, allocations: 4.375 kB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.003089, allocations: 4.375 kB / 0.7314 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.551e-05/0.003184, allocations: 102.5 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.003192, allocations: 192 / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.003199, allocations: 1.812 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.003204, allocations: 0.9219 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.003236, allocations: 23.86 kB / 0.7315 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.333e-05/0.003329, allocations: 64.98 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.613e-05/0.003405, allocations: 55.28 kB / 0.7316 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.003423, allocations: 14.42 kB / 0.7316 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.003703, allocations: 83.42 kB / 0.7317 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.003725, allocations: 34.56 kB / 0.7318 GB, free: 1.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.003726, allocations: 0 / 0.7318 GB, free: 1.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0008301/0.004556, allocations: 443.1 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.004582, allocations: 51.41 kB / 0.7322 GB, free: 1.438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.34e-05/0.004636, allocations: 115.3 kB / 0.7323 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.004647, allocations: 30.38 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.00467, allocations: 84.95 kB / 0.7324 GB, free: 1.191 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.004701, allocations: 39.62 kB / 0.7325 GB, free: 1.152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.00473, allocations: 25.7 kB / 0.7325 GB, free: 1.121 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.004822, allocations: 315.7 kB / 0.7328 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.004836, allocations: 13.08 kB / 0.7328 GB, free: 0.793 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.004857, allocations: 12.81 kB / 0.7328 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/0.004904, allocations: 48.62 kB / 0.7329 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.004904, allocations: 0.625 kB / 0.7329 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.069e-05/0.004985, allocations: 69.67 kB / 0.7329 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.004997, allocations: 8.625 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005002, allocations: 5.094 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.00501, allocations: 0 / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.005079, allocations: 23.98 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.005083, allocations: 4.969 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.005096, allocations: 4 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.005101, allocations: 7.938 kB / 0.733 GB, free: 0.6094 MB / 0.698 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 6.744e-05/0.005169, allocations: 110.3 kB / 0.7331 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.005186, allocations: 9.781 kB / 0.7331 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.595e-05/0.005282, allocations: 77.73 kB / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005283, allocations: 0 / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.005286, allocations: 0 / 0.7332 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.00529, allocations: 7.938 kB / 0.7332 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.005482, allocations: 223.9 kB / 0.7334 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.005484, allocations: 8 kB / 0.7334 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.387e-05/0.005548, allocations: 19.98 kB / 0.7334 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.005562, allocations: 8.75 kB / 0.7334 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.005566, allocations: 7.984 kB / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.005572, allocations: 4.5 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005572, allocations: 0.75 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.005574, allocations: 0 / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.005708, allocations: 189 kB / 0.7336 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.00572, allocations: 8 kB / 0.7336 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.005755, allocations: 0 / 0.7336 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.005776, allocations: 11.92 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.005782, allocations: 0.8125 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.726e-06/0.005791, allocations: 8.859 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005791, allocations: 1.031 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001507/0.005942, allocations: 43.92 kB / 0.7337 GB, free: 15.82 MB / 0.7136 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.0001759/0.006118, allocations: 141.1 kB / 0.7338 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.006201, allocations: 40.84 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.006208, allocations: 5.438 kB / 0.7339 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.006274, allocations: 32.78 kB / 0.7339 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.00638, allocations: 8 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.006614, allocations: 155.2 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.143e-05/0.006646, allocations: 60.53 kB / 0.7341 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.006679, allocations: 7.984 kB / 0.7341 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.006725, allocations: 67.38 kB / 0.7342 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.006726, allocations: 2.219 kB / 0.7342 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.003312/0.01004, allocations: 1.629 MB / 0.7358 GB, free: 13.72 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.880599182099104]